- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for withType (0.05 sec)
-
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 {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Apr 11 20:15:47 UTC 2025 - 2.2K 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>()) }Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Oct 01 11:57:43 UTC 2025 - 9.3K bytes - Viewed (0) -
build-logic/jvm/src/main/kotlin/gradlebuild/jvm/JvmCompilation.kt
*/ abstract val targetJvmVersion: Property<Int> fun Project.from(sourceSet: SourceSet) { associate(tasks.named<JavaCompile>(sourceSet.getCompileTaskName("java"))) plugins.withType<GroovyBasePlugin>() { associate(tasks.named<GroovyCompile>(sourceSet.getCompileTaskName("groovy"))) } plugins.withId("org.jetbrains.kotlin.jvm") {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Sep 19 05:45:14 UTC 2025 - 5.8K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.private-javadoc.gradle.kts
pluginManager.withPlugin("gradlebuild.code-quality") { tasks { named("codeQuality") { dependsOn(tasks.withType<Javadoc>()) } } } tasks.withType<Javadoc>().configureEach { assert(name != "javadocAll") // This plugin should not be applied to the :docs project. onlyIf("Do not run the task if there are no java sources") {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Aug 20 14:11:17 UTC 2024 - 2.3K 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 {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Feb 22 11:17:19 UTC 2024 - 1.4K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.kotlin-dsl-gradle-plugin.gradle.kts
implementation("gradlebuild:gradle-plugin") testImplementation("org.junit.vintage:junit-vintage-engine") testRuntimeOnly("org.junit.platform:junit-platform-launcher") } tasks.withType<KotlinCompile>().configureEach { compilerOptions { allWarningsAsErrors = true } } detekt { // overwrite the config file's location
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Nov 11 23:24:30 UTC 2025 - 1.6K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild.update-versions.gradle.kts
plugins { id("gradlebuild.module-identity") } tasks.named<UpdateDaemonJvm>("updateDaemonJvm") { languageVersion = JavaLanguageVersion.of(17) } tasks.withType<UpdateReleasedVersions>().configureEach { releasedVersionsFile = releasedVersionsFile() group = "Versioning" } tasks.register<UpdateReleasedVersions>("updateReleasedVersions") {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Oct 24 09:10:28 UTC 2025 - 2.3K bytes - Viewed (0) -
module-tests/build.gradle.kts
requires("java.logging") } module("com.squareup.okio:okio", "okio") { exportAllPackages() } } val testJavaVersion = System.getProperty("test.java.version", "21").toInt() tasks.withType<Test> { useJUnitPlatform() enabled = testJavaVersion > 8 javaLauncher.set(javaToolchains.launcherFor { languageVersion.set(JavaLanguageVersion.of(testJavaVersion)) }) } java {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Sep 21 06:45:42 UTC 2025 - 1.6K bytes - Viewed (0) -
build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-defaults.gradle.kts
val artifactoryUserName get() = project.providers.gradleProperty("artifactoryUserName").orNull val artifactoryUserPassword get() = project.providers.gradleProperty("artifactoryUserPassword").orNull tasks.withType<AbstractPublishToMaven>().configureEach { val noUpload = project.gradleProperty("noUpload") this.onlyIf { !noUpload.map { it == "true" }.orElse(false).get() } if (name.endsWith("ToRemoteRepository")) {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Jul 17 16:12:44 UTC 2025 - 3.4K bytes - Viewed (0) -
build-logic/integration-testing-kotlin/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle-integ-tests.gradle.kts
import gradlebuild.integrationtests.tasks.IntegrationTest plugins { id("gradlebuild.integration-tests") } tasks.withType<IntegrationTest>().configureEach { // See AbstractKotlinIntegrationTest "kotlinDslTestsExtraRepo".let { propName -> System.getProperty(propName)?.let { systemProperty(propName, it) } } } dependencies { integTestRuntimeOnly(project(":kotlin-dsl-plugins")) {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Dec 30 14:53:14 UTC 2024 - 756 bytes - Viewed (0)