2022-07-30 21:09:59 +02:00
|
|
|
buildscript {
|
2023-10-28 16:19:07 +02:00
|
|
|
ext.kotlin_version = '1.9.10'
|
2022-07-30 21:09:59 +02:00
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-10-28 16:19:07 +02:00
|
|
|
classpath 'com.android.tools.build:gradle:8.1.2'
|
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 {
|
2023-10-12 02:00:39 +02:00
|
|
|
url 'https://jitpack.io'
|
2022-08-06 15:04:18 +02:00
|
|
|
}
|
2023-08-14 02:40:05 +02:00
|
|
|
mavenLocal()
|
2022-07-30 21:09:59 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-28 16:19:07 +02:00
|
|
|
layout.buildDirectory.set(file("../build"))
|
|
|
|
var root = layout.buildDirectory.get().asFile.absolutePath
|
2022-07-30 21:09:59 +02:00
|
|
|
subprojects {
|
2023-10-28 16:19:07 +02:00
|
|
|
project.layout.buildDirectory.set(file("$root/${project.name}"))
|
2022-07-30 21:09:59 +02:00
|
|
|
project.evaluationDependsOn(':app')
|
|
|
|
}
|
|
|
|
|
2023-05-14 12:45:35 +02:00
|
|
|
tasks.register("clean", Delete) {
|
2023-10-28 16:19:07 +02:00
|
|
|
delete layout.buildDirectory
|
2022-07-30 21:09:59 +02:00
|
|
|
}
|