aboutsummaryrefslogtreecommitdiff
path: root/addNeaMoeMavenRepo.init.gradle.kts
blob: e0495503db32ea5988db64a9ea4471bacf4ef84a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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")
                }
            }
        }
    }    
}