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