2019-01-12 13:10:02 +01:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
buildscript {
|
2021-04-14 18:42:41 +02:00
|
|
|
ext.kotlin_version = '1.4.32'
|
2019-09-14 12:56:10 +02:00
|
|
|
|
2019-01-12 13:10:02 +01:00
|
|
|
repositories {
|
|
|
|
google()
|
2021-07-02 18:56:11 +02:00
|
|
|
mavenCentral()
|
2019-01-12 13:10:02 +01:00
|
|
|
}
|
|
|
|
dependencies {
|
2021-04-14 18:42:41 +02:00
|
|
|
classpath 'com.android.tools.build:gradle:4.1.3'
|
2019-09-14 12:56:10 +02:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2019-01-12 13:10:02 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
2019-09-14 12:56:10 +02:00
|
|
|
mavenCentral()
|
2020-12-28 15:32:21 +01:00
|
|
|
maven { url 'https://jitpack.io' }
|
2019-01-12 13:10:02 +01:00
|
|
|
}
|
2019-02-09 19:55:09 +01:00
|
|
|
afterEvaluate {
|
|
|
|
tasks.withType(JavaCompile.class) {
|
|
|
|
options.compilerArgs << "-Xmaxerrs" << "1000"
|
|
|
|
}
|
|
|
|
}
|
2019-01-12 13:10:02 +01:00
|
|
|
}
|
|
|
|
|
2019-12-21 21:46:02 +01:00
|
|
|
ext {
|
|
|
|
compileSdkVersion = 29
|
|
|
|
minSdkVersion = 21
|
|
|
|
targetSdkVersion = 29
|
2020-03-20 22:14:26 +01:00
|
|
|
buildToolsVersion = "29.0.3"
|
2019-12-21 21:46:02 +01:00
|
|
|
}
|
|
|
|
|
2019-01-12 13:10:02 +01:00
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
2019-05-10 10:25:16 +02:00
|
|
|
}
|