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-11-19 22:34:18 +01:00
|
|
|
ext.kotlin_version = '1.3.60'
|
2019-09-14 12:56:10 +02:00
|
|
|
|
2019-01-12 13:10:02 +01:00
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
dependencies {
|
2019-11-16 18:55:15 +01:00
|
|
|
classpath 'com.android.tools.build:gradle:3.5.2'
|
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
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
2019-05-10 10:25:16 +02:00
|
|
|
}
|