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 {
|
2020-07-10 17:59:15 +02:00
|
|
|
ext.kotlin_version = '1.3.72'
|
2019-09-14 12:56:10 +02:00
|
|
|
|
2019-01-12 13:10:02 +01:00
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
dependencies {
|
2020-07-10 17:59:15 +02:00
|
|
|
classpath 'com.android.tools.build:gradle:4.0.0'
|
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()
|
|
|
|
jcenter()
|
2019-09-14 12:56:10 +02:00
|
|
|
mavenCentral()
|
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
|
|
|
}
|