2019-12-31 18:19:35 +01:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
buildscript {
|
2024-04-20 19:36:14 +02:00
|
|
|
ext.kotlin_version = '1.9.23'
|
2019-12-31 18:19:35 +01:00
|
|
|
repositories {
|
2023-06-25 14:51:13 +02:00
|
|
|
mavenCentral()
|
2019-12-31 18:19:35 +01:00
|
|
|
google()
|
|
|
|
}
|
|
|
|
dependencies {
|
2023-12-25 09:20:15 +01:00
|
|
|
classpath 'com.android.tools.build:gradle:8.1.4' // 8.2 requires newer Android Studio that is even worse than 2022.x in performance
|
2020-01-20 19:24:43 +01:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2023-11-04 12:05:01 +01:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
|
2019-12-31 18:19:35 +01:00
|
|
|
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
|
|
// in the individual module build.gradle files
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-11-04 12:05:01 +01:00
|
|
|
plugins {
|
2024-04-20 19:36:14 +02:00
|
|
|
id 'org.jetbrains.kotlin.plugin.serialization' version '1.9.23' apply false
|
2023-11-04 12:05:01 +01:00
|
|
|
}
|
|
|
|
|
2019-12-31 18:19:35 +01:00
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
2023-06-25 14:51:13 +02:00
|
|
|
mavenCentral()
|
2023-10-21 10:23:18 +02:00
|
|
|
maven { url "https://jitpack.io" }
|
2019-12-31 18:19:35 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-21 10:23:18 +02:00
|
|
|
tasks.register('clean', Delete) {
|
2023-12-15 00:25:04 +04:00
|
|
|
delete rootProject.layout.buildDirectory
|
2019-12-31 18:19:35 +01:00
|
|
|
}
|