-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
59 lines (47 loc) · 1.32 KB
/
build.gradle
File metadata and controls
59 lines (47 loc) · 1.32 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
buildscript {
// ext{
// errorproneVersion = '2.4.0'
// }
repositories {
mavenLocal()
mavenCentral()
}
}
plugins {
// Apply the java plugin to add support for Java
id 'java'
// Apply the application plugin to add support for building a CLI application.
id 'application'
// id 'checkstyle'
// id "net.ltgt.errorprone" version "1.2.1"
}
repositories {
// Use jcenter for resolving dependencies.
jcenter()
mavenLocal()
mavenCentral()
}
dependencies {
// This dependency is used by the application.
// implementation 'com.google.guava:guava:29.0-jre'
// Use JUnit test framework
testImplementation 'junit:junit:4.13'
compile files('core.jar')
// Define ErrorProne
// errorprone("com.google.errorprone:error_prone_core:$errorproneVersion")
// errorproneJavac("com.google.errorprone:javac:9+181-r4173-1")
}
application {
// Define the main class for the application.
mainClassName = 'final_difficult.FinalExamDifficult'
}
//tasks.withType(JavaCompile).configureEach {
// options.errorprone.disableWarningsInGeneratedCode = true
//}
//checkstyle {
// toolVersion '8.36'
//}
//tasks.withType(JavaCompile).configureEach {
//// options.errorprone.disableWarningsInGeneratedCode = true
//// options.errorprone.enabled = false
//}