mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2024-11-10 01:02:22 +01:00
080fbe9feb
BREAKING CHANGE: This renames packages and the Maven package.
22 lines
No EOL
782 B
Text
22 lines
No EOL
782 B
Text
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
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
include("revanced-patch-annotation-processor", "revanced-patcher") |