- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for configureEach (0.09 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 Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Sep 30 15:18:07 UTC 2024 - 2.3K bytes - Viewed (0) -
build.gradle.kts
subprojects { plugins.withId("org.jetbrains.kotlin.jvm") { kotlinExtension.sourceSets.configureEach { languageSettings.optIn("okhttp3.ExperimentalOkHttpApi") } } plugins.withId("org.jetbrains.kotlin.android") { kotlinExtension.sourceSets.configureEach { languageSettings.optIn("okhttp3.ExperimentalOkHttpApi") } } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jun 23 17:02:02 UTC 2024 - 9K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts
"StringSplitter", // We are fine with using String.split() as is ) project.plugins.withType<JavaBasePlugin> { project.extensions.getByName<SourceSetContainer>("sourceSets").configureEach { val extension = this.extensions.create<ErrorProneSourceSetExtension>("errorprone", project.objects.property<Boolean>()) // Enable it only for the main source set by default, as incremental Groovy
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Aug 20 14:11:17 UTC 2024 - 6.1K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.kotlin-dsl-gradle-plugin.gradle.kts
dependencies { api(platform("gradlebuild:build-platform")) implementation("gradlebuild:gradle-plugin") testImplementation("org.junit.vintage:junit-vintage-engine") } tasks.withType<KotlinCompile>().configureEach { compilerOptions { allWarningsAsErrors = true } } detekt { // overwrite the config file's location
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Aug 20 14:11:17 UTC 2024 - 1.7K 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 Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Sep 19 13:21:47 UTC 2024 - 5.9K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild.update-versions.gradle.kts
import java.net.URI tasks.named<UpdateDaemonJvm>("updateDaemonJvm") { jvmVersion = JavaLanguageVersion.of(17) jvmVendor = "adoptium" } tasks.withType<UpdateReleasedVersions>().configureEach { releasedVersionsFile = releasedVersionsFile() group = "Versioning" } tasks.register<UpdateReleasedVersions>("updateReleasedVersions") { currentReleasedVersion = ReleasedVersion(
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Oct 11 18:33:20 UTC 2024 - 2.1K 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 Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Aug 08 14:54:27 UTC 2024 - 6.4K 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 Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Sep 25 08:20:22 UTC 2024 - 3.3K 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 Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Aug 20 14:11:17 UTC 2024 - 2.3K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild.wrapper.gradle.kts
import com.google.gson.Gson import java.net.URI wrapperUpdateTask("nightly", "nightly") wrapperUpdateTask("rc", "release-candidate") wrapperUpdateTask("current", "current") tasks.withType<Wrapper>().configureEach { val jvmOpts = "-Dfile.encoding=UTF-8" inputs.property("jvmOpts", jvmOpts) doLast { val optsEnvVar = "DEFAULT_JVM_OPTS"
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Sep 17 08:58:33 UTC 2024 - 1.4K bytes - Viewed (0)