Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for afterEvaluate (0.08 seconds)

  1. build-tools-internal/src/main/groovy/elasticsearch.fips.gradle

              test.setClasspath(test.getClasspath().plus(extraFipsJars))
            }
          }
    
          pluginManager.withPlugin("elasticsearch.testclusters") {
            afterEvaluate {
              // This afterEvaluate hooks is required to avoid deprecated configuration resolution
              // This configuration can be removed once system modules are available
    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)
  2. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/ElasticsearchJavaPluginFuncTest.groovy

            when:
            buildFile.text = """
                plugins {
                 id 'elasticsearch.java'
                }
    
                compileJava.targetCompatibility = "1.10"
                afterEvaluate {
                    assert compileJava.options.release.get() == 10
                }
            """
            then:
            gradleRunner("help").build()
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.6K bytes
    - Click Count (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts

                to.attribute(minified, true).attribute(artifactType, "jar")
                parameters {
                    keepClassesByCoordinates = keepPatterns
                }
            }
        }
        afterEvaluate {
            // Without afterEvaluate, configurations.all runs before the configurations' roles are set.
            // This is yet another reason we need configuration factory methods.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 18:27:10 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/vagrant/VagrantExtension.java

        }
    
        @Input
        public String getBox() {
            return box.get();
        }
    
        public void setBox(String box) {
            // TODO: should verify this against the Vagrantfile, but would need to do so in afterEvaluate once vagrantfile is unmodifiable
            this.box.set(box);
        }
    
        @Input
        public Map<String, Object> getHostEnv() {
            return hostEnv.get();
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.4K bytes
    - Click Count (0)
  5. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/LicenseHeadersTask.java

        public LicenseHeadersTask() {
            setDescription("Checks sources for missing, incorrect, or unacceptable license headers");
        }
    
        /**
         * The list of java files to check. protected so the afterEvaluate closure in the
         * constructor can write to it.
         */
        @InputFiles
        @SkipWhenEmpty
        @PathSensitive(PathSensitivity.RELATIVE)
        public List<FileCollection> getJavaFiles() {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 09 18:53:35 GMT 2021
    - 10.6K bytes
    - Click Count (0)
  6. okhttp/build.gradle.kts

    project.tasks.withType<AnimalSniffer> {
      if (targetName == "animalsnifferJvmMain") {
        animalsnifferSignatures = jvmSignature
      } else {
        animalsnifferSignatures = androidSignature
      }
    }
    
    afterEvaluate {
      tasks.withType<Test> {
        if (javaLauncher
            .get()
            .metadata.languageVersion
            .asInt() < 9
        ) {
          // Work around robolectric requirements and limitations
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Feb 04 22:16:39 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalPluginBuildPlugin.java

                .set("addQaCheckDependencies", new Closure<Object>(InternalPluginBuildPlugin.this, InternalPluginBuildPlugin.this) {
                    public void doCall(Object it) {
                        project.afterEvaluate(project1 -> {
                            // let check depend on check tasks of qa sub-projects
                            final var checkTaskProvider = project1.getTasks().named("check");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 5K bytes
    - Click Count (0)
  8. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/PublishPlugin.java

            var publishingExtension = project.getExtensions().getByType(PublishingExtension.class);
            var publication = publishingExtension.getPublications().create("elastic", MavenPublication.class);
            project.afterEvaluate(project1 -> {
                if (project1.getPlugins().hasPlugin(ShadowPlugin.class)) {
                    configureWithShadowPlugin(project1, publication);
                } else if (project1.getPlugins().hasPlugin(JavaPlugin.class)) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Aug 11 07:30:51 GMT 2021
    - 8.9K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BuildPlugin.java

            ext.set("licenseFile", null);
            ext.set("noticeFile", null);
            // add license/notice files
            project.afterEvaluate(p -> p.getTasks().withType(Jar.class).configureEach(jar -> {
                if (ext.has("licenseFile") == false
                    || ext.get("licenseFile") == null
                    || ext.has("noticeFile") == false
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 14:34:07 GMT 2021
    - 3.4K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/testfixtures/TestFixturesPlugin.java

                tasks.named("composeDown").configure(t -> t.doLast(t2 -> getFileSystemOperations().delete(d -> d.delete(testfixturesDir))));
            } else {
                project.afterEvaluate(spec -> {
                    if (extension.fixtures.isEmpty()) {
                        // if only one fixture is used, that's this one, but without a compose file that's not a valid configuration
    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)
Back to Top