mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-18 23:01:03 +00:00
Add linting + fix warnings
Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
This commit is contained in:
+9
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user