diff options
Diffstat (limited to 'addNeaMoeMavenRepo.init.gradle.kts')
-rw-r--r-- | addNeaMoeMavenRepo.init.gradle.kts | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/addNeaMoeMavenRepo.init.gradle.kts b/addNeaMoeMavenRepo.init.gradle.kts new file mode 100644 index 0000000..e049550 --- /dev/null +++ b/addNeaMoeMavenRepo.init.gradle.kts @@ -0,0 +1,23 @@ +allprojects { + afterEvaluate { + extensions.findByType<PublishingExtension>()?.repositories { + maven("https://repo.nea.moe/mirror") { + name = "neamoeMirror" + credentials(PasswordCredentials::class) + authentication { + create<BasicAuthentication>("basic") + } + } + maven("https://repo.nea.moe/releases") { + name = "neamoeReleases" + credentials(PasswordCredentials::class) + authentication { + create<BasicAuthentication>("basic") + } + } + } + } +} + + + |