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 {
|
2019-12-15 22:00:12 +01:00
|
|
|
ext.kotlin_version = '1.3.61'
|
2019-09-14 12:56:10 +02:00
|
|
|
|
2019-01-12 13:10:02 +01:00
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
dependencies {
|
2020-02-26 23:02:45 +01:00
|
|
|
classpath 'com.android.tools.build:gradle:3.6.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
|
|
|
|
}
|
|
|
|
|
2019-01-12 13:10:02 +01:00
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
2019-05-10 10:25:16 +02:00
|
|
|
}
|