Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,005 for classPath (0.17 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/initialization/DefaultScriptHandlerTest.groovy

            then:
            0 * configuration._
            0 * buildLogicBuilder.resolveClassPath(_, _)
    
            and:
            classpath == ClassPath.EMPTY
        }
    
        def "resolves classpath configuration when configuration container has been queried"() {
            def classpath = Mock(ClassPath)
    
            when:
            handler.configurations
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 23 19:43:17 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/ClientOwnedClassLoaderSpec.java

        private final List<URI> classpath;
    
        public ClientOwnedClassLoaderSpec(List<URI> classpath) {
            this.classpath = classpath;
        }
    
        public List<URI> getClasspath() {
            return classpath;
        }
    
        @Override
        public String toString() {
            return "{client-owned-class-loader classpath: " + classpath + "}";
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptClassPathProvider.kt

    import org.gradle.api.internal.classpath.ModuleRegistry
    import org.gradle.api.internal.file.FileCollectionFactory
    import org.gradle.api.internal.initialization.ClassLoaderScope
    import org.gradle.internal.classloader.ClassLoaderVisitor
    import org.gradle.internal.classpath.ClassPath
    import org.gradle.internal.classpath.DefaultClassPath
    import org.gradle.kotlin.dsl.support.isGradleKotlinDslJar
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:16:36 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/client-services/src/test/groovy/org/gradle/internal/daemon/client/serialization/ClasspathInfererTest.groovy

            factory.getClassPathFor(cl, classpath)
            return classpath.collect { it.toURL() }
        }
    
        /**
         * A classloader that produces classes with CodeSource objects containing the full resource URL,
         * similar to how the NetBeans JarClassLoader works.
         */
        class NetBeansLikeClassLoader extends TestClassLoader {
            NetBeansLikeClassLoader(ClassLoader classLoader, List<File> classpath) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/reflect/GradleStandardJavaFileManager.java

                // If we are pretending that we don't have a sourcepath, the compiler will
                // look on the classpath for sources. Since we don't want to bring in any
                // sources implicitly from the classpath, we have to ignore source files
                // found on the classpath.
                if (location.equals(StandardLocation.CLASS_PATH)) {
                    kinds.remove(JavaFileObject.Kind.SOURCE);
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/initialization/DefaultClassLoaderScope.java

            if (additionalLoaders == null) {
                return loader(id, parent, classPath);
            }
            return new CachingClassLoader(multiLoader(id, parent, classPath, additionalLoaders));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 20:19:43 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/serialize/ClassPathEncodingExtensions.kt

        writeCollection(classPath.asFiles) {
            writeFile(it)
        }
    }
    
    
    internal
    fun Encoder.writeTransformedClassPath(classPath: TransformedClassPath) {
        writeCollection(classPath.asFiles.zip(classPath.asTransformedFiles)) {
            writeFile(it.first)
            writeFile(it.second)
        }
    }
    
    
    internal
    fun Decoder.readClassPath(): ClassPath {
        val isTransformed = readBoolean()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/ScriptHandlerScopeTest.kt

            }
    
            ScriptHandlerScope(buildscript).apply {
                dependencies {
                    classpath(notation)
                    classpath(notation) { exclude(module = "com.google.guava") }
                }
            }
    
            verify(dependencies).add(eq("classpath"), eq(notation))
            verify(dependencies).addProvider(eq("classpath"), eq(notation), any<Action<ExternalModuleDependency>>())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top