revanced-manager/android/build.gradle

38 lines
959 B
Groovy
Raw Normal View History

2022-07-30 21:09:59 +02:00
buildscript {
2023-08-27 04:39:24 +02:00
ext.kotlin_version = '1.7.10'
2022-07-30 21:09:59 +02:00
repositories {
google()
mavenCentral()
}
dependencies {
2022-09-14 23:16:33 +02:00
classpath 'com.android.tools.build:gradle:7.1.3'
2022-07-30 21:09:59 +02:00
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
google()
mavenCentral()
2022-08-06 15:04:18 +02:00
maven {
url = uri("https://maven.pkg.github.com/revanced/revanced-patcher")
credentials {
username = (project.findProperty("gpr.user") ?: System.getenv("GITHUB_ACTOR")) as String
password = (project.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN")) as String
}
}
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}"
project.evaluationDependsOn(':app')
}
2023-05-14 12:45:35 +02:00
tasks.register("clean", Delete) {
2022-07-30 21:09:59 +02:00
delete rootProject.buildDir
}