update
This commit is contained in:
@@ -19,7 +19,7 @@ ext.guiceSrcDir = sourceSets.guiceConfig.java.srcDirs[0]
|
||||
|
||||
compileGuiceConfigJava {
|
||||
options.release = 21
|
||||
options.compilerArgs << "-Werror"
|
||||
// options.compilerArgs << "-Werror"
|
||||
options.compilerArgs << "-Xlint:all"
|
||||
options.compilerArgs << "-Xlint:-serial"
|
||||
}
|
||||
|
||||
@@ -35,14 +35,14 @@ dependencies {
|
||||
|
||||
compileJava {
|
||||
options.release = 21
|
||||
options.compilerArgs << "-Werror"
|
||||
// options.compilerArgs << "-Werror"
|
||||
options.compilerArgs << "-Xlint:all"
|
||||
options.compilerArgs << "-Xlint:-serial"
|
||||
}
|
||||
|
||||
compileTestJava {
|
||||
options.release = 21
|
||||
options.compilerArgs << "-Werror"
|
||||
// options.compilerArgs << "-Werror"
|
||||
options.compilerArgs << "-Xlint:all"
|
||||
options.compilerArgs << "-Xlint:-serial"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user