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-09-14 12:56:10 +02:00
|
|
|
ext.kotlin_version = '1.3.50'
|
|
|
|
|
2019-01-12 13:10:02 +01:00
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
dependencies {
|
2019-10-15 22:02:08 +02:00
|
|
|
classpath 'com.android.tools.build:gradle:3.5.1'
|
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
|
|
|
}
|