Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for setClasspath (0.06 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java

                    parent.setNChildren(1);
                    parent.addChild(0, node);
                }
    
                parent = node;
            }
            return tree;
        }
    
        public void setClasspath(List<ArtifactMetadata> classpath) {
            this.classpath = classpath;
        }
    
        public ArtifactScopeEnum getScope() {
            return scope;
        }
    
        public void setScope(ArtifactScopeEnum scope) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

                    .filter(f -> f.getName().endsWith(".java"))
                    .filter(new DeduplicatePackageInfoFiles())
                );
    
                task.setClasspath(extension.getClasspath());
    
                // TODO: This should be in Javadoc task
                DirectoryProperty generatedJavadocDirectory = project.getObjects().directoryProperty();
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 02 14:18:24 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. buildSrc/src/main/kotlin/Osgi.kt

      val bundleExtension =
        jarTask.extensions.findByType() ?: jarTask.extensions.create(
          BundleTaskExtension.NAME,
          BundleTaskExtension::class.java,
          jarTask,
        )
      bundleExtension.run {
        setClasspath(osgi.compileClasspath + sourceSets["main"].compileClasspath)
        bnd(*bndProperties)
      }
      // Call the convention when the task has finished, to modify the jar to contain OSGi metadata.
      jarTask.doLast {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt

            generator.setExitEnvironmentVar("GRADLE_EXIT_CONSOLE")
            generator.setEntryPoint(ExecutableJar("lib/$launcherJarName"))
            generator.setScriptRelPath("bin/gradle")
            generator.setClasspath(emptyList())
            generator.setAppNameSystemProperty("org.gradle.appname")
            generator.setDefaultJvmOpts(listOf("-Xmx64m", "-Xms64m"))
    
            val unixScriptFile = startScriptsDir.file("gradle").get().asFile
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Apr 08 01:46:59 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  5. 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");
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. 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"));
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed May 28 11:34:42 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  7. 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;
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. 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()
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 04 07:24:54 UTC 2024
    - 4.7K bytes
    - Viewed (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.
         */
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java

            });
            sourcesPath.setCanBeConsumed(false);
            sourcesPath.setCanBeResolved(true);
            sourcesPath.extendsFrom(runtimeClasspath);
    
            extension.getClasspath().from(runtimeClasspath);
            extension.getSourceRoots().from(sourcesPath.getIncoming().artifactView(v -> v.lenient(true)).getFiles());
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Jul 02 12:28:02 UTC 2025
    - 7.6K bytes
    - Viewed (0)
Back to top