revanced-manager/android/build.gradle

28 lines
772 B
Groovy
Raw Normal View History

2022-07-30 21:09:59 +02:00
allprojects {
repositories {
google()
mavenCentral()
2022-08-06 15:04:18 +02:00
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")
}
2022-08-06 15:04:18 +02:00
}
2023-08-14 02:40:05 +02:00
mavenLocal()
2022-07-30 21:09:59 +02:00
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
2022-07-30 21:09:59 +02:00
subprojects {
project.evaluationDependsOn(':app')
}
2023-05-14 12:45:35 +02:00
tasks.register("clean", Delete) {
delete rootProject.buildDir
2022-07-30 21:09:59 +02:00
}