Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for getClassesDirs (0.07 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/LoggerUsageTask.java

                        || sourceSet.getName().equals(SourceSet.TEST_SOURCE_SET_NAME)
                )
                .map(sourceSet -> sourceSet.getOutput().getClassesDirs())
                .reduce(FileCollection::plus)
                .orElse(getProject().files())
                .filter(File::exists);
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jun 17 08:59:22 GMT 2021
    - 2.8K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/TestingConventionsTasks.java

            setDescription("Tests various testing conventions");
            // Run only after everything is compiled
            GradleUtils.getJavaSourceSets(getProject()).all(sourceSet -> dependsOn(sourceSet.getOutput().getClassesDirs()));
            naming = getProject().container(TestingConventionRule.class);
        }
    
        @Input
        public Map<String, Set<File>> getClassFilesPerEnabledTask() {
            return getProject().getTasks()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 17.6K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/YamlRestCompatTestPlugin.java

                // Use test runner and classpath from "normal" yaml source set
                testTask.setTestClassesDirs(
                    yamlTestSourceSet.getOutput().getClassesDirs().plus(yamlCompatTestSourceSet.getOutput().getClassesDirs())
                );
                testTask.setClasspath(
                    yamlCompatTestSourceSet.getRuntimeClasspath()
                        // remove the "normal" api and tests
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 16:26:11 GMT 2021
    - 11.7K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/StandaloneRestTestPlugin.java

            final SourceSet testSourceSet = sourceSets.create("test");
    
            project.getTasks().withType(Test.class).configureEach(test -> {
                test.setTestClassesDirs(testSourceSet.getOutput().getClassesDirs());
                test.setClasspath(testSourceSet.getRuntimeClasspath());
            });
    
            // create a compileOnly configuration as others might expect it
            project.getConfigurations().create("compileOnly");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 05 08:34:36 GMT 2021
    - 3.4K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/RestTestUtil.java

                project.getPlugins().withType(JavaPlugin.class, t ->
                    testTask.mustRunAfter(project.getTasks().named("test"))
                );
    
                testTask.setTestClassesDirs(sourceSet.getOutput().getClassesDirs());
                testTask.setClasspath(sourceSet.getRuntimeClasspath());
                // if this a module or plugin, it may have an associated zip file with it's contents, add that to the test cluster
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 16:26:11 GMT 2021
    - 3.1K bytes
    - Click Count (0)
Back to Top