- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for configureEach (0.24 sec)
-
build-logic/jvm/src/main/kotlin/gradlebuild/jvm/extension/StrictCompileExtension.kt
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.gradle.kts
} // https://publicobject.com/2023/04/16/read-a-project-file-in-a-kotlin-multiplatform-test/ tasks.withType<Test>().configureEach { environment("OKHTTP_ROOT", rootDir) } tasks.withType<KotlinJvmTest>().configureEach { environment("OKHTTP_ROOT", rootDir) } tasks.withType<JavaCompile> { if (name.contains("Java9")) { sourceCompatibility = "9"
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 11.5K bytes - Viewed (1) -
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/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts
tasks.withType<Sign>().configureEach { isEnabled = signArtifacts } signing { useInMemoryPgpKeys( project.providers.environmentVariable("PGP_SIGNING_KEY").orNull, project.providers.environmentVariable("PGP_SIGNING_KEY_PASSPHRASE").orNull ) publishing.publications.configureEach { if (signArtifacts) { signing.sign(this) } }
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Oct 30 16:56:31 UTC 2025 - 5.7K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts
compatibilityRules.add(NullawayCompatibilityRule::class.java) } } } project.plugins.withType<JavaBasePlugin> { project.extensions.getByName<SourceSetContainer>("sourceSets").configureEach { val isMainSourceSet = (name == "main") val extension = this.extensions.create<ErrorProneSourceSetExtension>( "errorprone", project.objects.property<Boolean>()
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-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts
val signArtifacts: Boolean = !pgpSigningKey.orNull.isNullOrEmpty() tasks.withType<Sign>().configureEach { isEnabled = signArtifacts } signing { useInMemoryPgpKeys(pgpSigningKey.orNull, pgpSigningPassPhrase.orNull) publishing.publications.configureEach { if (signArtifacts) { signing.sign(this) } }
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Jul 02 12:28:02 UTC 2025 - 6.1K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.kotlin-dsl-gradle-plugin.gradle.kts
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 locationRegistered: 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-commons/publishing/src/main/kotlin/gradlebuild.publish-defaults.gradle.kts
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")) { failEarlyIfUrlOrCredentialsAreNotSet(this)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/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts
} tasks.withType<JavaCompile>().configureEach { options.release = provider { throw GradleException("This task '${name}' is not associated with a compilation. Associate it with a compilation on the '${JvmCompileExtension.NAME}' extension.") } } val gradleModule = the<GradleModuleExtension>() the<JvmCompileExtension>().apply { compilations { configureEach {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Dec 19 06:44:41 UTC 2025 - 18.9K 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)