Add linting + fix warnings

Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
This commit is contained in:
solonovamax
2020-11-07 18:27:39 -05:00
parent de4eb8cb73
commit dc46e4596d
31 changed files with 233 additions and 206 deletions
+9 -1
View File
@@ -48,9 +48,17 @@ dependencies {
testImplementation(name = "Gaea-1.14.0", group = "")
}
val compileJava: JavaCompile by tasks
compileJava.apply {
options.encoding = "UTF-8"
doFirst {
options.compilerArgs = mutableListOf("-Xlint:all", "-Xlint:-processing")
}
}
tasks.test {
useJUnitPlatform()
maxHeapSize = "1G"
ignoreFailures = false
failFast = true