mirror of https://github.com/readrops/Readrops.git
38 lines
789 B
Groovy
38 lines
789 B
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
ext.kotlin_version = '1.4.20'
|
|
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:4.1.1'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
mavenCentral()
|
|
}
|
|
afterEvaluate {
|
|
tasks.withType(JavaCompile.class) {
|
|
options.compilerArgs << "-Xmaxerrs" << "1000"
|
|
}
|
|
}
|
|
}
|
|
|
|
ext {
|
|
compileSdkVersion = 29
|
|
minSdkVersion = 21
|
|
targetSdkVersion = 29
|
|
buildToolsVersion = "29.0.3"
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
} |