mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
35 lines
741 B
Groovy
35 lines
741 B
Groovy
buildscript {
|
|
ext.kotlin_version = '1.9.10'
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:8.1.2'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
maven {
|
|
url 'https://jitpack.io'
|
|
}
|
|
mavenLocal()
|
|
}
|
|
}
|
|
|
|
layout.buildDirectory.set(file("../build"))
|
|
var root = layout.buildDirectory.get().asFile.absolutePath
|
|
subprojects {
|
|
project.layout.buildDirectory.set(file("$root/${project.name}"))
|
|
project.evaluationDependsOn(':app')
|
|
}
|
|
|
|
tasks.register("clean", Delete) {
|
|
delete layout.buildDirectory
|
|
}
|