Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 65 for doLast (0.2 seconds)

  1. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/InternalYamlRestTestPluginFuncTest.groovy

                // can't actually spin up test cluster from this test
               tasks.withType(Test).configureEach{ enabled = false }
    
               tasks.register("printYamlRestTestClasspath").configure {
                   doLast {
                       println sourceSets.yamlRestTest.runtimeClasspath.asPath
                   }
               }
            """
            String api = "foo.json"
            setupRestResources([api])
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 10:22:28 GMT 2021
    - 3.1K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/groovy/elasticsearch.ide.gradle

      String checkstyleIdeConfig = "$rootDir/checkstyle_ide.xml"
    
      inputs.files(file(checkstyleConfig), file(checkstyleIdeFragment))
      outputs.files(file(checkstyleIdeConfig))
    
      doLast {
        // Create an IDE-specific checkstyle config by first copying the standard config
        Files.copy(
          Paths.get(file(checkstyleConfig).getPath()),
          Paths.get(file(checkstyleIdeConfig).getPath()),
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 24 19:34:12 GMT 2021
    - 8.8K bytes
    - Click Count (0)
  3. build-logic-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts

        val repoDir = localRepository // Prevent capturing the Gradle script instance for configuration cache compatibility
        // This should be unified with publish-public-libraries if possible
        doLast {
            repoDir.get().asFileTree.matching { include("**/maven-metadata.xml") }.forEach {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 11:01:20 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  4. build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts

                if (moduleBaseDir.exists()) {
                    // Make sure artifacts do not pile up locally
                    moduleBaseDir.deleteRecursively()
                }
            }
    
            doLast {
                localRepository.get().file("org/gradle/${baseName.get()}/maven-metadata.xml").asFile.apply {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Oct 30 16:56:31 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy

            testRoot = objectFactory.directoryProperty()
            TestBuilder builder = new TestBuilder()
            doFirst { outputRoot().delete() }
            perSnippet builder.&handleSnippet
            doLast builder.&checkUnconverted
            doLast builder.&finishLastTest
        }
    
        /**
         * Root directory containing all the files generated by this task. It is
         * contained within testRoot.
         */
        File outputRoot() {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 19.5K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionArchiveCheckPlugin.java

            DistributionArchiveCheckExtension extension
        ) {
            TaskProvider<Task> checkMlCppNoticeTask = project.getTasks().register("checkMlCppNotice", task -> {
                task.dependsOn(checkExtraction);
                task.doLast(new Action<Task>() {
                    @Override
                    public void execute(Task task) {
                        // this is just a small sample from the C++ notices,
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.6K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalBwcGitPlugin.java

                findRemote.setCommandLine(asList("git", "remote", "-v"));
                ByteArrayOutputStream output = new ByteArrayOutputStream();
                findRemote.setStandardOutput(output);
                findRemote.doLast(t -> {
                    ExtraPropertiesExtension extraProperties = project.getExtensions().getExtraProperties();
                    extraProperties.set("remoteExists", isRemoteAvailable(remote, output));
                });
            });
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 9.9K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/CheckstylePrecommitPlugin.java

            }
    
            // Explicitly using an Action interface as java lambdas
            // are not supported by Gradle up-to-date checks
            copyCheckstyleConf.configure(t -> t.doLast(new Action<Task>() {
                @Override
                public void execute(Task task) {
                    checkstyleDir.mkdirs();
                    try (InputStream stream = checkstyleConfUrl.openStream()) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jun 17 08:59:22 GMT 2021
    - 5.5K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/groovy/elasticsearch.build-scan.gradle

        }
      }
    }
    
    subprojects {
      project.getPlugins().withType(TestRerunPlugin) {
        tasks.withType(Test).configureEach(new Action<Test>() {
          @Override
          void execute(Test test) {
            test.doLast(new Action<Test>() {
              @Override
              void execute(Test t) {
                if(t.rerun.didRerun.get() == true) {
                  buildScan.tag 'unexpected-test-jvm-exit'
                }
              }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jul 21 20:40:34 GMT 2021
    - 4.6K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionBwcSetupPlugin.java

                c.args(projectPath.replace('/', ':') + ":" + assembleTaskName);
                if (project.getGradle().getStartParameter().isBuildCacheEnabled()) {
                    c.args("--build-cache");
                }
                c.doLast(new Action<Task>() {
                    @Override
                    public void execute(Task task) {
                        if (expectedOutputFile.exists() == false) {
                            throw new InvalidUserDataException(
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Aug 18 09:11:28 GMT 2021
    - 14.5K bytes
    - Click Count (0)
Back to Top