Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,373 for classPath (0.14 sec)

  1. subprojects/core/src/main/java/org/gradle/process/internal/JavaExecHandleBuilder.java

            if (!mainClass.isPresent()) {
                if (classpath != null && classpath.getFiles().size() == 1) {
                    allArgs.add("-jar");
                    allArgs.add(classpath.getSingleFile().getAbsolutePath());
                } else {
                    throw new IllegalStateException("No main class specified and classpath is not an executable jar.");
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 27 09:47:37 UTC 2023
    - 14K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/Testing.kt

        return o as T
    }
    
    
    inline fun withClassLoaderFor(vararg classPath: File, action: ClassLoader.() -> Unit) =
        classLoaderFor(*classPath).use(action)
    
    
    inline fun withClassLoaderFor(classPath: ClassPath, action: ClassLoader.() -> Unit) =
        classLoaderFor(classPath).use(action)
    
    
    fun classLoaderFor(classPath: ClassPath): URLClassLoader =
        classLoaderFor(*classPath.asFiles.toTypedArray())
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/UsingLockingOnNonProjectConfigurationsIntegrationTest.groovy

        repositories {
            maven {
                url = '$mavenRepo.uri'
            }
        }
        configurations.classpath {
            resolutionStrategy.activateDependencyLocking()
        }
        dependencies {
            classpath 'org.foo:foo-plugin:[1.0,2.0)'
        }
    }
    """
            lockfileFixture.createBuildscriptLockfile('classpath', ['org.foo:foo-plugin:1.0'], unique)
    
            when:
            succeeds 'buildEnvironment'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/initialization/loadercache/DefaultClassLoaderCache.java

        }
    
        @Override
        public ClassLoader get(ClassLoaderId id, ClassPath classPath, @Nullable ClassLoader parent, @Nullable FilteringClassLoader.Spec filterSpec) {
            return get(id, classPath, parent, filterSpec, null);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classpath/TransformedClassPathTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.internal.classpath
    
    
    import spock.lang.Specification
    
    import static org.gradle.internal.classpath.TransformedClassPath.FileMarker.AGENT_INSTRUMENTATION_MARKER
    import static org.gradle.internal.classpath.TransformedClassPath.FileMarker.INSTRUMENTATION_CLASSPATH_MARKER
    import static org.gradle.internal.classpath.TransformedClassPath.FileMarker.LEGACY_INSTRUMENTATION_MARKER
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 11:14:30 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/build-process-services/src/main/java/org/gradle/api/internal/DefaultClassPathRegistry.java

        }
    
        @Override
        public ClassPath getClassPath(String name) {
            for (ClassPathProvider provider : providers) {
                ClassPath classpath = provider.findClassPath(name);
                if (classpath != null) {
                    return classpath;
                }
            }
            throw new IllegalArgumentException(String.format("unknown classpath '%s' requested.", name));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/initialization/ImmutableClassLoaderScope.java

        private final ClassLoaderScope parent;
        private final ClassPath classPath;
        @Nullable
        private final HashCode classpathImplementationHash;
        private final ClassLoader localClassLoader;
    
        public ImmutableClassLoaderScope(
            ClassLoaderScopeIdentifier id,
            ClassLoaderScope parent,
            @Nullable ClassLoaderScopeOrigin origin,
            ClassPath classPath,
            @Nullable HashCode classpathImplementationHash,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 20:19:43 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/groovy/scripts/GroovyCompileScriptBuildOperationIntegrationTest.groovy

                "Compile initialization script 'init.gradle' (CLASSPATH)",
                "Compile initialization script 'init.gradle' (BODY)",
                "Compile settings file 'settings.gradle' (CLASSPATH)",
                "Compile settings file 'settings.gradle' (BODY)",
                "Compile build file 'build.gradle' (CLASSPATH)",
                "Compile build file 'build.gradle' (BODY)",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/internal/tasks/testing/detection/ForkedTestClasspathFactoryTest.groovy

        def "creates a limited implementation classpath"() {
            when:
            def framework = newFramework(false, [], [], [], [])
            def classpath = underTest.create([new File("cls.jar")], [new File("mod.jar")], framework, false)
    
            then:
            classpath.applicationClasspath == [new File("cls.jar")]
            classpath.applicationModulepath == [new File("mod.jar")]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  10. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseDependencySubstitutionIntegrationTest.groovy

                substitute module("junit:junit:4.7") using project(":project1")
            }
        }
    }
    """)
    
            def classpath = classpath("project2")
            assert classpath.projects.collect { it.name } == ["project1"]
            assert classpath.libs == []
        }
    
        @Test
        @ToBeFixedForConfigurationCache
        void "transitive external dependency substituted with project dependency"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top