Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for getClassesDirs (0.14 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/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)
  3. 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