mirror of
https://github.com/revanced/revanced-cli.git
synced 2024-11-03 18:33:55 +01:00
995f2ec99b
This commit removes the subproject ReVanced Library and moves it to another repository. A monorepo turned out to be difficult to work with.
23 lines
800 B
Plaintext
23 lines
800 B
Plaintext
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()
|
|
mavenLocal()
|
|
google()
|
|
maven { url = uri("https://jitpack.io") }
|
|
listOf("revanced-patcher", "jadb").forEach { repo ->
|
|
maven {
|
|
url = uri("https://maven.pkg.github.com/revanced/$repo")
|
|
credentials {
|
|
username = githubUsername
|
|
password = githubPassword
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
rootProject.name = "revanced-cli" |