For the Gradle Java plugin, what is the Kotlin DSL equivalent for the following Groovy DSL?
compileJava {
options.compilerArgs += ['-Xdoclint:all,-missing', '-Xlint:all']
}
tasks.withType<JavaCompile> {
options.compilerArgs.addAll(arrayOf("-parameters", "-Xdoclint:none", "-Xlint:all"))
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With