-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
38 lines (33 loc) · 1.01 KB
/
build.gradle
File metadata and controls
38 lines (33 loc) · 1.01 KB
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
36
37
38
buildscript {
ext.kotlin_version = '1.3.21'
ext.android_plugin_version = '3.3.2'
ext.support_version = '27.1.1'
ext.play_services_version = '16.0.1'
ext.arch_version = '1.0.0'
repositories {
jcenter()
google()
}
dependencies {
classpath "com.android.tools.build:gradle:$android_plugin_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
// https://stackoverflow.com/questions/11760638/how-to-increase-the-error-limit-of-100-errors-on-intellij-idea
// data binding and room between them like to throw hundreds and hundreds of errors and
// only the very last one is ever meaningful
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xmaxerrs" << "4000"
options.compilerArgs << "-Xmaxwarns" << "4000"
}
}
repositories {
jcenter()
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}