Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 50 for configureEach (0.08 seconds)

  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(
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:47:12 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  2. 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)
            }
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Apr 26 06:43:17 GMT 2023
    - 810 bytes
    - Click Count (0)
  3. build-tools-internal/src/main/groovy/elasticsearch.authenticated-testclusters.gradle

            password: providers.systemProperty('tests.rest.cluster.password')
                    .forUseAtConfigurationTime()
                    .getOrElse('x-pack-test-password')
    ]
    
    tasks.withType(StandaloneRestIntegTestTask).configureEach {
        systemProperty 'tests.rest.cluster.username', clusterCredentials.username
        systemProperty 'tests.rest.cluster.password', clusterCredentials.password
    }
    
    testClusters.all {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 11:25:54 GMT 2021
    - 1.1K bytes
    - Click Count (0)
  4. 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"
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Sep 17 08:58:33 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  5. build-logic/src/main/kotlin/okhttp.base-conventions.gradle.kts

      isTransitive = false
    }
    
    configurations.configureEach {
      if (name == "implementation") {
        extendsFrom(friendsApi, friendsImplementation)
      }
      if (name == "api") {
        extendsFrom(friendsApi)
      }
      if (name == "testImplementation") {
        extendsFrom(friendsTestImplementation)
      }
    }
    
    tasks.withType<KotlinCompile>().configureEach {
      friendPaths.from(friendsApi.incoming.artifactView { }.files)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Feb 04 22:16:39 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  6. 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") }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 06 15:37:11 GMT 2024
    - 867 bytes
    - Click Count (0)
  7. build-tools-internal/src/main/groovy/elasticsearch.runtime-jdk-provision.gradle

            platform = OS.current().name().toLowerCase()
            architecture = Architecture.current().name().toLowerCase()
        }
    }
    
    configure(allprojects) {
        project.tasks.withType(Test).configureEach { Test test ->
            if (BuildParams.getIsRuntimeJavaHomeSet()) {
                test.executable = "${BuildParams.runtimeJavaHome}/bin/java"
            } else {
                test.dependsOn(rootProject.jdks.provisioned_runtime)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 27 19:29:10 GMT 2021
    - 1.4K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/testfixtures/TestFixturesPlugin.java

            maybeSkipTasks(tasks, dockerSupport, ComposePull.class);
            maybeSkipTasks(tasks, dockerSupport, ComposeDown.class);
    
            tasks.withType(Test.class).configureEach(task -> extension.fixtures.all(fixtureProject -> {
                task.dependsOn(fixtureProject.getTasks().named("postProcessFixture"));
                task.finalizedBy(fixtureProject.getTasks().named("composeDown"));
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 29 15:07:50 GMT 2021
    - 10.7K bytes
    - Click Count (0)
  9. .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 })
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sat Oct 10 05:36:54 GMT 2020
    - 745 bytes
    - Click Count (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") {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Aug 20 14:11:17 GMT 2024
    - 2.3K bytes
    - Click Count (0)
Back to Top