Update build.gradle.kts
This commit is contained in:
1 parent
70dcfea2bc
commit
d48a9fc6b4
1 file changed
+2
-1
+2
-1
@@ -96,9 +96,10 @@ tasks.build { dependsOn(tasks.spotlessApply, tasks.shadowJar) } // Build depends
|
||||
|
||||
/* --------------------------- Javac opts ------------------------------- */
|
||||
tasks.withType<JavaCompile>().configureEach {
|
||||
options.compilerArgs.add("-parameters") // Enable reflection for java code.
|
||||
options.isFork = true // Run javac in its own process.
|
||||
options.compilerArgs.add("-Xlint:deprecation") // Trigger deprecation warning messages.
|
||||
options.encoding = "UTF-8" // Use UTF-8 file encoding.
|
||||
options.isFork = true
|
||||
}
|
||||
|
||||
/* ----------------------------- Auto Formatting ------------------------ */
|
||||
|
||||
Reference in new issue
Block a user