2022-07-30 21:09:59 +02:00
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
2022-08-06 15:04:18 +02:00
|
|
|
maven {
|
2024-03-04 12:47:38 +01:00
|
|
|
// 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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-11-08 16:51:04 +01: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) {
|
2023-11-08 16:51:04 +01:00
|
|
|
delete rootProject.buildDir
|
2022-07-30 21:09:59 +02:00
|
|
|
}
|