Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for configureEach (0.53 sec)

  1. 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") {
        currentReleasedVersion = ReleasedVersion(
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Oct 24 09:10:28 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. build-logic/jvm/src/main/kotlin/gradlebuild.jvm-compile.gradle.kts

    // to compile to different JVM versions.
    
    val jvmCompile = extensions.create<JvmCompileExtension>(JvmCompileExtension.NAME)
    
    jvmCompile.compilations.configureEach {
        // Assume the compilation does not use any workarounds
        usesJdkInternals = false
        usesFutureStdlib = false
    
        // All compilations must have a target JVM version configured explicitly.
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Jun 24 13:46:12 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. 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") }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Mar 06 15:37:11 UTC 2024
    - 867 bytes
    - Viewed (0)
  4. 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)
  5. build-logic-settings/configuration-cache-compatibility/src/main/kotlin/gradlebuild.configuration-cache-compatibility.settings.gradle.kts

                "reason",
                "redundantKaptCheck",
                "redundantPluginAlert",
            ) -> true
    
            else -> false
        }
    
        gradle.lifecycle.beforeProject {
            tasks.configureEach {
                val task = this
                if (isIncompatible(task)) {
                    task.notCompatibleWithConfigurationCache("Task is not compatible with the configuration cache")
                }
            }
        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Jan 15 16:07:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. .github/workflows/codeql-analysis.init.gradle

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    allprojects {
        tasks.withType(JavaCompile).configureEach {
            outputs.doNotCacheIf("CodeQL scanning", { true })
        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sat Oct 10 05:36:54 UTC 2020
    - 745 bytes
    - Viewed (0)
  7. 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 Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Apr 26 06:43:17 UTC 2023
    - 810 bytes
    - Viewed (0)
  8. 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 Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Sep 17 08:58:33 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. 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
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Dec 15 20:21:31 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. build-logic/integration-testing/src/main/kotlin/gradlebuild.distribution-testing.gradle.kts

        parameters.homeDir = intTestHomeDir
    }
    
    fun Gradle.rootBuild(): Gradle = parent.let { it?.rootBuild() ?: this }
    
    tasks.withType<DistributionTest>().configureEach {
        shouldRunAfter("test")
    
        setJvmArgsOfTestJvm()
        setSystemPropertiesOfTestJVM("default")
        configureGradleTestEnvironment()
        addSetUpAndTearDownActions()
    }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Aug 18 18:02:41 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top