revanced-manager/android/build.gradle

38 lines
969 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'
2023-01-15 11:48:15 +01:00
ext.kotlin_version = '1.8.0'
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
}