Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for setClasspath (0.1 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

                task.source(extension.getDocumentedSource().filter(f -> f.getName().endsWith(".java")));
    
                task.setClasspath(extension.getClasspath());
    
                // TODO: This should be in Javadoc task
                DirectoryProperty generatedJavadocDirectory = objects.directoryProperty();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. 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 Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslRuntimeGeneratedSources.java

        @Inject
        protected abstract FileSystemOperations getFs();
    
        public GradleKotlinDslRuntimeGeneratedSources() {
            getInputClasspath().from(
                ClasspathUtil.getClasspath(getInputClassLoaderScope().getExportClassLoader()).getAsFiles()
            );
        }
    
        private ClassLoaderScope getInputClassLoaderScope() {
            return getClassLoaderScopeRegistry().getCoreAndPluginsScope();
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sun Mar 19 17:15:23 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. 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 Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDslReferencePlugin.java

                task.getStylesheetHighlightFile().convention(dslReference.getHighlightStylesheet());
                task.getDocbookStylesheets().from(userGuideStyleSheetConf);
    
                task.getClasspath().from(userGuideTask);
    
                task.getDestinationDirectory().convention(dslReference.getStagingRoot().dir("dsl"));
            });
    
            extension.dslReference(dslRef -> {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.7K bytes
    - Viewed (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()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top