- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for StrictCompileExtension (0.08 seconds)
-
build-logic/jvm/src/main/kotlin/gradlebuild/jvm/extension/StrictCompileExtension.kt
import org.gradle.api.tasks.compile.JavaCompile import org.gradle.kotlin.dsl.* /** * Strict compilation options honored by [gradlebuild.Strict_compile_gradle]. */ abstract class StrictCompileExtension(val tasks: TaskContainer) { fun ignoreDeprecations() { tasks.withType<JavaCompile>().configureEach { options.compilerArgs.add("-Xlint:-deprecation") } }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Feb 22 11:17:19 GMT 2024 - 1.4K bytes - Click Count (0) -
build-logic/jvm/src/main/kotlin/gradlebuild.strict-compile.gradle.kts
* See the License for the specific language governing permissions and * limitations under the License. */ import gradlebuild.jvm.extension.StrictCompileExtension extensions.create<StrictCompileExtension>("strictCompile") val strictCompilerArgs = listOf("-Werror", "-Xlint:all", "-Xlint:-options", "-Xlint:-serial", "-Xlint:-classfile", "-Xlint:-try") tasks.withType<JavaCompile>().configureEach {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Dec 15 20:21:31 GMT 2023 - 1.2K bytes - Click Count (0)