mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2024-11-10 09:07:47 +01:00
27 lines
772 B
Groovy
27 lines
772 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}"
|
|
}
|
|
subprojects {
|
|
project.evaluationDependsOn(':app')
|
|
}
|
|
|
|
tasks.register("clean", Delete) {
|
|
delete rootProject.buildDir
|
|
}
|