Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for configureEach (0.14 sec)

  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 Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 15:18:07 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.test-retry.gradle.kts

     * limitations under the License.
     */
    
    plugins {
        id("org.gradle.test-retry")
    }
    
    if (System.getenv().containsKey("CI")) {
        tasks.withType<Test>().configureEach {
            retry {
                maxRetries.set(2)
            }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 26 06:43:17 UTC 2023
    - 810 bytes
    - Viewed (0)
  10. 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)
Back to top