allprojects { afterEvaluate { extensions.findByType()?.repositories { maven("https://repo.nea.moe/mirror") { name = "neamoeMirror" credentials(PasswordCredentials::class) authentication { create("basic") } } maven("https://repo.nea.moe/releases") { name = "neamoeReleases" credentials(PasswordCredentials::class) authentication { create("basic") } } } } }