Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for setClasspath (0.21 sec)

  1. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/IntegrationTest.kt

        @InputDirectory
        @PathSensitive(PathSensitivity.RELATIVE)
        val samplesDir = gradleInstallationForTest.gradleSnippetsDir
    
        override fun setClasspath(classpath: FileCollection) {
            /*
             * The 'kotlin-daemon-client.jar' repackages 'native-platform' with all its binaries.
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2K bytes
    - Viewed (0)
  2. 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();
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Oct 16 13:03:20 GMT 2023
    - 6.9K bytes
    - Viewed (0)
  3. 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) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  4. 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 {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  5. build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt

            generator.setExitEnvironmentVar("GRADLE_EXIT_CONSOLE")
            generator.setMainClassName("org.gradle.launcher.GradleMain")
            generator.setScriptRelPath("bin/gradle")
            generator.setClasspath(listOf("lib/$launcherJarName"))
            generator.setAppNameSystemProperty("org.gradle.appname")
            generator.setDefaultJvmOpts(listOf("-Xmx64m", "-Xms64m"))
    
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Fri Feb 24 10:25:27 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  6. 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");
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (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"));
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Jan 15 14:00:14 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  8. 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;
            }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  9. 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()
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Oct 05 19:36:14 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  10. 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();
        }
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Sun Mar 19 17:15:23 GMT 2023
    - 3.9K bytes
    - Viewed (0)
Back to top