-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathbuild.gradle.kts
36 lines (32 loc) · 983 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
36
plugins {
// id("com.gradle.build-scan") version "3.0"
id("com.github.ben-manes.versions") version "0.28.0"
id("org.ajoberstar.grgit") version "4.0.2"
id("com.github.sherter.google-java-format") version "0.9"
id("net.ltgt.errorprone") version "1.2.1"
}
repositories {
mavenCentral()
jcenter()
maven { url = uri("https://maven.google.com") }
maven { url = uri("https://repo.gradle.org/gradle/libs-releases") }
}
googleJavaFormat {
toolVersion = "1.7"
exclude("server/src/test/resources/*")
exclude("server/out/*")
exclude("src/test/resources/*")
exclude("out/*")
}
dependencies {
errorprone("com.google.errorprone:error_prone_core:2.4.0")
errorproneJavac("com.google.errorprone:javac:9+181-r4173-1")
}
allprojects {
repositories {
mavenCentral()
jcenter()
maven { url = uri("https://maven.google.com") }
maven { url = uri("https://repo.gradle.org/gradle/libs-releases") }
}
}