revanced-manager/android/build.gradle

37 lines
938 B
Groovy
Raw Normal View History

2022-07-31 00:39:59 +05:30
buildscript {
ext.kotlin_version = '1.7.10'
2022-07-31 00:39:59 +05:30
repositories {
google()
mavenCentral()
}
dependencies {
2022-09-14 23:16:33 +02:00
classpath 'com.android.tools.build:gradle:7.1.3'
2022-07-31 00:39:59 +05:30
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
google()
mavenCentral()
2022-08-06 14:04:18 +01: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
}
}
2022-07-31 00:39:59 +05:30
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
project.evaluationDependsOn(':app')
}
2023-05-14 16:30:35 +05:45
tasks.register("clean", Delete) {
2022-07-31 00:39:59 +05:30
delete rootProject.buildDir
}