-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
35 lines (31 loc) · 970 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import org.gradle.internal.impldep.aQute.bnd.osgi.Constants.options
buildscript {
repositories {
google()
jcenter()
maven("https://dl.bintray.com/kotlin/kotlin-eap")
maven("https://dl.bintray.com/kotlin/kotlin-dev")
maven("https://oss.sonatype.org/content/repositories/snapshots/")
}
dependencies {
classpath("com.android.tools.build:gradle:3.4.0-alpha03")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.0")
}
}
allprojects {
repositories {
google()
jcenter()
maven("https://dl.bintray.com/kotlin/kotlin-eap")
maven("https://dl.bintray.com/kotlin/kotlin-dev")
maven("https://oss.sonatype.org/content/repositories/snapshots/")
}
}
tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}
afterEvaluate {
tasks.withType(JavaCompile::class) {
options.compilerArgs.addAll(listOf("-Xmaxerrs", "5000"))
}
}