- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for withType (0.15 sec)
-
build.gradle.kts
apply(plugin = "ru.vyarus.animalsniffer") apply(plugin = "biz.aQute.bnd.builder") tasks.withType<JavaCompile> { options.encoding = Charsets.UTF_8.toString() } configure<JavaPluginExtension> { toolchain { languageVersion.set(JavaLanguageVersion.of(17)) } } tasks.withType<Checkstyle>().configureEach { exclude("**/CipherSuite.java") }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 18 01:32:42 GMT 2024 - 8.9K bytes - Viewed (0) -
build-logic/jvm/src/main/kotlin/gradlebuild/jvm/extension/StrictCompileExtension.kt
fun ignoreDeprecations() { tasks.withType<JavaCompile>().configureEach { options.compilerArgs.add("-Xlint:-deprecation") } } fun ignoreRawTypes() { tasks.withType<JavaCompile>().configureEach { options.compilerArgs.add("-Xlint:-rawtypes") } } fun ignoreAnnotationProcessing() { tasks.withType<JavaCompile>().configureEach {
Plain Text - Registered: Wed Mar 27 11:36:08 GMT 2024 - Last Modified: Thu Feb 22 11:17:19 GMT 2024 - 1.4K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts
} } } } tasks.withType<JavaCompile>().configureEach { options.errorprone { disableWarningsInGeneratedCode = true allErrorsAsWarnings = true } } val codeQuality = tasks.register("codeQuality") { dependsOn(tasks.withType<CodeNarc>()) dependsOn(tasks.withType<Checkstyle>()) dependsOn(tasks.withType<ValidatePlugins>()) }
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Jan 30 10:26:21 GMT 2024 - 6K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.groovy-dsl-gradle-plugin.gradle.kts
} tasks.withType<GroovyCompile>().configureEach { groovyOptions.apply { encoding = "utf-8" forkOptions.jvmArgs?.add("-XX:+HeapDumpOnOutOfMemoryError") } options.apply { isFork = true encoding = "utf-8" compilerArgs = mutableListOf("-Xlint:-options", "-Xlint:-path") } } tasks.withType<Test>().configureEach {
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Oct 03 15:32:00 GMT 2023 - 1.8K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.kotlin-dsl-gradle-plugin.gradle.kts
java.configureJavaToolChain() dependencies { api(platform("gradlebuild:build-platform")) implementation("gradlebuild:gradle-plugin") testImplementation("org.junit.vintage:junit-vintage-engine") } tasks.withType<KotlinCompile>().configureEach { compilerOptions { allWarningsAsErrors = true } } ktlint { filter { exclude("gradle/kotlin/dsl/accessors/_*/**") } }
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Oct 03 15:32:00 GMT 2023 - 1.7K bytes - Viewed (0) -
build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts
java.toolchain { languageVersion = JavaLanguageVersion.of(11) vendor = JvmVendorSpec.ADOPTIUM } tasks.withType<JavaCompile>().configureEach { configureCompileTask(options) options.compilerArgs.add("-parameters") } tasks.withType<GroovyCompile>().configureEach { groovyOptions.encoding = "utf-8" sourceCompatibility = "1.8" targetCompatibility = "1.8"
Plain Text - Registered: Wed Mar 27 11:36:08 GMT 2024 - Last Modified: Wed Jan 17 13:36:27 GMT 2024 - 15.7K bytes - Viewed (0) -
build-logic/jvm/src/main/kotlin/gradlebuild.strict-compile.gradle.kts
extensions.create<StrictCompileExtension>("strictCompile") val strictCompilerArgs = listOf("-Werror", "-Xlint:all", "-Xlint:-options", "-Xlint:-serial", "-Xlint:-classfile", "-Xlint:-try") tasks.withType<JavaCompile>().configureEach { // Generated classes may not adhere to the strict no-warning policy that we apply to handwritten code // For example, external JMH plugin generates code that produces compiler warnings
Plain Text - Registered: Wed Mar 27 11:36:08 GMT 2024 - Last Modified: Fri Dec 15 20:21:31 GMT 2023 - 1.2K bytes - Viewed (0) -
analysis/analysis-api-fir/build.gradle.kts
projectTest(jUnitMode = JUnitMode.JUnit5) { dependsOn(":dist") workingDir = rootDir useJUnitPlatform() }.also { confugureFirPluginAnnotationsDependency(it) } testsJar() allprojects { tasks.withType<KotlinJvmCompile>().configureEach { compilerOptions.optIn.addAll( listOf( "org.jetbrains.kotlin.fir.symbols.SymbolInternals",
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 05 16:42:25 GMT 2024 - 4.3K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.reproducible-archives.gradle.kts
* See the License for the specific language governing permissions and * limitations under the License. */ // Ensure the archives produced are reproducible tasks.withType<AbstractArchiveTask>().configureEach { isPreserveFileTimestamps = false isReproducibleFileOrder = true dirPermissions { unix("0755") } filePermissions { unix("0644") }
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Mar 06 15:37:11 GMT 2024 - 867 bytes - Viewed (0) -
container-tests/build.gradle.kts
plugins { kotlin("jvm") } val platform = System.getProperty("okhttp.platform", "jdk9") val testJavaVersion = System.getProperty("test.java.version", "21").toInt() tasks.withType<Test> { useJUnitPlatform() onlyIf("By default not in CI") { System.getenv("CI") == null || (project.hasProperty("containerTests") && project.property("containerTests").toString().toBoolean()) } jvmArgs( "-Dokhttp.platform=$platform",
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Mar 17 14:46:34 GMT 2024 - 1.1K bytes - Viewed (0)