aboutsummaryrefslogtreecommitdiff
path: root/addNeaMoeMavenRepo.init.gradle.kts
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2023-11-23 13:27:12 +0100
committerLinnea Gräf <nea@nea.moe>2023-11-23 13:27:12 +0100
commitdb56cfdb57c481de8c833a1a53b7e9f9cdae82c0 (patch)
treefe74dd40f2b8f74e9e5d71d684372dcd1ab2600b /addNeaMoeMavenRepo.init.gradle.kts
downloadgradle-init-scripts-db56cfdb57c481de8c833a1a53b7e9f9cdae82c0.tar.gz
gradle-init-scripts-db56cfdb57c481de8c833a1a53b7e9f9cdae82c0.tar.bz2
gradle-init-scripts-db56cfdb57c481de8c833a1a53b7e9f9cdae82c0.zip
Initial commit
Diffstat (limited to 'addNeaMoeMavenRepo.init.gradle.kts')
-rw-r--r--addNeaMoeMavenRepo.init.gradle.kts23
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")
+ }
+ }
+ }
+ }
+}
+
+
+