mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-05-08 09:24:25 +02:00

The local enviroment deemed unreliable, before applying it doesn't work - after applying the workaround, it work - after removing the workaround with clearing cache, it doesn't work. (what?) Signed-off-by: validcube <pun.butrach@gmail.com>
26 lines
756 B
Groovy
26 lines
756 B
Groovy
allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
maven {
|
|
// A repository must be speficied for some reason. "registry" is a dummy.
|
|
url = uri("https://maven.pkg.github.com/revanced/registry")
|
|
credentials {
|
|
username = project.findProperty("gpr.user") as String ?: System.getenv("GITHUB_ACTOR")
|
|
password = project.findProperty("gpr.key") as String ?: System.getenv("GITHUB_TOKEN")
|
|
}
|
|
}
|
|
mavenLocal()
|
|
}
|
|
}
|
|
|
|
rootProject.buildDir = '../build'
|
|
subprojects {
|
|
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
|
project.evaluationDependsOn(":app")
|
|
}
|
|
|
|
tasks.register("clean", Delete) {
|
|
delete rootProject.buildDir
|
|
}
|