revanced-manager/android/build.gradle

28 lines
772 B
Groovy
Raw Normal View History

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