Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 50 for configureEach (0.07 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/TestWithSslPlugin.java

                // Tell the tests we're running with ssl enabled
                project.getTasks()
                    .withType(RestIntegTestTask.class)
                    .configureEach(runner -> runner.systemProperty("tests.ssl.enabled", "true"));
            });
    
            project.getPlugins().withType(TestClustersPlugin.class).configureEach(clustersPlugin -> {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.1K bytes
    - Click Count (0)
  2. build-logic/buildquality/src/main/kotlin/gradlebuild.configure-ci-artifacts.gradle.kts

        }
    
        project.tasks.withType<ValidatePlugins>().configureEach {
            testFilesCleanupService.get().addTaskReports(path, validatePluginsReports())
        }
    
        project.tasks.withType<FindBrokenInternalLinks>().configureEach {
            testFilesCleanupService.get().addTaskReports(path, findBrokenInternalLinksReports())
        }
        project.tasks.withType<DistributionTest>().configureEach {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 11 09:36:42 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/groovy/elasticsearch.bwc-test.gradle

        dependsOn tasks.matching { it.name ==~ /v[0-9\.]+#bwcTest/ }
      }
    }
    
    tasks.withType(Test).configureEach {
      onlyIf { project.bwc_tests_enabled }
      nonInputProperties.systemProperty 'tests.bwc', 'true'
    }
    
    tasks.matching { it.name.equals("check") }.configureEach {dependsOn(bwcTestSnapshots) }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jun 30 12:11:25 GMT 2021
    - 1.2K bytes
    - Click Count (0)
  4. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/InternalDistributionArchiveCheckPluginFuncTest.groovy

            given:
            file("SomeFile.class") << """
                some dummy class file
            """
            buildFile << """
                tasks.withType(AbstractArchiveTask).configureEach {
                    from 'SomeFile.class'
                }
            """
            when:
            def result = gradleRunner(":darwin-${archiveType}:check", '--stacktrace').buildAndFail()
            then:
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 10:22:28 GMT 2021
    - 5.9K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/groovy/elasticsearch.fips.gradle

              testClusters.configureEach {
                extraFipsJars.files.each {
                  extraJarFile it
                }
              }
            }
            tasks.withType(TestClustersAware).configureEach {
              dependsOn 'fipsResources'
            }
            testClusters.configureEach {
              setTestDistribution(TestDistribution.DEFAULT)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Sep 21 11:03:02 GMT 2021
    - 4.8K bytes
    - Click Count (0)
  6. 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 {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 15:37:56 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchJavaPlugin.java

        }
    
        /**
         * Adds additional manifest info to jars
         */
        static void configureJars(Project project) {
            project.getTasks().withType(Jar.class).configureEach(
                jarTask -> {
                    // we put all our distributable files under distributions
                    jarTask.getDestinationDirectory().set(new File(project.getBuildDir(), "distributions"));
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 27 16:04:42 GMT 2021
    - 7.3K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/DocsTestPlugin.groovy

            // The distribution can be configured with -Dtests.distribution on the command line
            project.testClusters.matching { it.name.equals("integTest") }.configureEach { testDistribution = distribution.toUpperCase() }
            project.testClusters.matching { it.name.equals("integTest") }.configureEach { nameCustomization = { it.replace("integTest", "node") } }
            // Docs are published separately so no need to assemble
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.6K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/RestTestBasePlugin.java

            project.getPluginManager().apply(ElasticsearchTestBasePlugin.class);
            project.getPluginManager().apply(InternalTestClustersPlugin.class);
            project.getTasks().withType(RestIntegTestTask.class).configureEach(restIntegTestTask -> {
                @SuppressWarnings("unchecked")
                NamedDomainObjectContainer<ElasticsearchCluster> testClusters = (NamedDomainObjectContainer<ElasticsearchCluster>) project
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Aug 05 18:56:52 GMT 2021
    - 4.4K bytes
    - Click Count (0)
  10. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/BuildToolsConventionsPlugin.java

            project.getTasks().withType(Test.class).configureEach(test -> {
                test.onlyIf((t) -> Util.getBooleanProperty("tests.fips.enabled", false) == false);
                test.setMaxParallelForks(defaultParallel);
            });
            // we put all our distributable files under distributions
            project.getTasks().withType(Jar.class).configureEach(j ->
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jun 23 09:44:49 GMT 2021
    - 1.5K bytes
    - Click Count (0)
Back to Top