revanced-manager/android/build.gradle

38 lines
970 B
Groovy
Raw Normal View History

2022-07-30 21:09:59 +02:00
buildscript {
2022-10-11 22:22:57 +02:00
ext.cronetVersion = '102.5005.125'
2022-11-01 17:03:26 +01:00
ext.kotlin_version = '1.7.20'
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
}
}
2022-07-30 21:09:59 +02:00
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
project.evaluationDependsOn(':app')
}
task clean(type: Delete) {
delete rootProject.buildDir
}