Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 25 for setClasspath (0.18 seconds)

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

                    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)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ForbiddenApisPrecommitPlugin.java

                }
    
                SourceSetContainer sourceSets = GradleUtils.getJavaSourceSets(project);
                SourceSet sourceSet = sourceSets.getByName(sourceSetName);
                t.setClasspath(project.files(sourceSet.getRuntimeClasspath()).plus(sourceSet.getCompileClasspath()));
    
                t.setTargetCompatibility(BuildParams.getRuntimeJavaVersion().getMajorVersion());
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 5.8K bytes
    - Click Count (0)
  3. build-logic/src/main/kotlin/BndBuildAction.kt

            builder.setJar(bundleJar)
    
            val validClasspath = classpath.filter { it.exists() && (it.isDirectory || isZip(it)) }
            builder.setProperty("project.buildpath", validClasspath.asPath)
            builder.setClasspath(validClasspath.files.toTypedArray())
    
            val validSourcepath = sourcepath.filter { it.exists() }
            builder.setProperty("project.sourcepath", validSourcepath.asPath)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchTestBasePlugin.java

                        FileCollection testRuntime = sourceSets.getByName(SourceSet.TEST_SOURCE_SET_NAME).getRuntimeClasspath();
                        test.setClasspath(testRuntime.minus(mainRuntime).plus(shadowConfig).plus(shadowJar));
                    }
                });
            });
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 24 22:14:49 GMT 2021
    - 10.4K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/YamlRestCompatTestPlugin.java

                testTask.setTestClassesDirs(
                    yamlTestSourceSet.getOutput().getClassesDirs().plus(yamlCompatTestSourceSet.getOutput().getClassesDirs())
                );
                testTask.setClasspath(
                    yamlCompatTestSourceSet.getRuntimeClasspath()
                        // remove the "normal" api and tests
                        .minus(project.files(yamlTestSourceSet.getOutput().getResourcesDir()))
    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)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

            assertNotNull(res, "null classpath container after runtime transform");
            assertNotNull(res.getClasspath(), "null classpath after runtime transform");
            assertEquals(4, res.getClasspath().size(), "runtime classpath should have 4 entries");
    
            ArtifactMetadata md = res.getClasspath().get(3);
            assertEquals("1.1", md.getVersion(), "runtime artifact version should be 1.1");
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.7K bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java

                spec.getSourceRoots().from(runtimeExtensions.flatMap(GradleKotlinDslRuntimeGeneratedSources::getGeneratedSources));
                spec.getClasspath().from(extension.getClasspath());
                spec.getClasspath().from(runtimeExtensions.flatMap(GradleKotlinDslRuntimeGeneratedSources::getGeneratedClasses));
                spec.getIncludes().from(extension.getSourceRoot().file("kotlin/Module.md"));
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed May 28 11:34:42 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionResult.java

                return new MetadataGraph(getTree(), true, true);
            }
            return null;
        }
        // ----------------------------------------------------------------------------
        public ClasspathContainer getClasspath(ArtifactScopeEnum scope)
                throws MetadataGraphTransformationException, MetadataResolutionException {
            if (classpathTransformation == null) {
                return null;
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.4K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDocumentationExtension.java

         */
        public abstract ConfigurableFileCollection getKotlinDslSource();
    
        /**
         * The runtime classpath of the source code to be documented.
         */
        public abstract ConfigurableFileCollection getClasspath();
    
        /**
         * A working directory to be used to stage documentation as its generated.
         * All of the sections of the documentation have working directories off of this one.
         */
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Aug 20 14:11:17 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy

        @PathSensitive(PathSensitivity.NONE)
        @InputFile
        abstract RegularFileProperty getStylesheetHighlightFile();
    
        @Classpath
        abstract ConfigurableFileCollection getClasspath();
    
        @OutputDirectory
        abstract DirectoryProperty getDestinationDirectory();
    
        @Inject
        abstract WorkerLeaseService getWorkerLeaseService();
    
        @Inject
        abstract ObjectFactory getObjects()
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 04 07:24:54 GMT 2024
    - 4.7K bytes
    - Click Count (0)
Back to Top