2023-08-23 04:28:11 +02:00
|
|
|
val githubUsername: String = providers.gradleProperty("gpr.user").orNull ?: System.getenv("GITHUB_ACTOR")
|
|
|
|
val githubPassword: String = providers.gradleProperty("gpr.key").orNull ?: System.getenv("GITHUB_TOKEN")
|
|
|
|
|
|
|
|
dependencyResolutionManagement {
|
|
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
google()
|
|
|
|
mavenLocal()
|
|
|
|
listOf("multidexlib2", "apktool").forEach { repo ->
|
|
|
|
maven {
|
|
|
|
url = uri("https://maven.pkg.github.com/revanced/$repo")
|
|
|
|
credentials {
|
|
|
|
username = githubUsername
|
|
|
|
password = githubPassword
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-03-19 18:35:41 +01:00
|
|
|
rootProject.name = "revanced-patcher"
|