Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for originalClassPath (0.45 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classpath/DefaultClassPathTest.groovy

            def a = new File("a.jar")
            def b = new File("b.jar")
    
            when:
            def originalClasspath = DefaultClassPath.of(a, b)
            def newClasspath = originalClasspath.removeIf { it.name.startsWith("c") }
    
            then:
            originalClasspath.asFiles == [a, b]
            newClasspath.is(originalClasspath)
        }
    
        def "classpaths are equal when the contain the same sequence of files"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classpath/TransformedClassPath.java

        private final ClassPath originalClassPath;
        // mapping of original -> "double"
        private final ImmutableMap<File, File> transforms;
    
        private TransformedClassPath(ClassPath originalClassPath, Map<File, File> transforms) {
            assert !(originalClassPath instanceof TransformedClassPath);
            this.originalClassPath = originalClassPath;
            this.transforms = ImmutableMap.copyOf(transforms);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 13:59:11 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/initialization/transform/services/CacheInstrumentationDataBuildService.java

                this.hashToOriginalFile = Lazy.locking().of(() -> {
                    Set<File> originalClasspath = getOriginalClasspath().getFiles();
                    Map<String, File> originalFiles = Maps.newHashMapWithExpectedSize(originalClasspath.size());
                    originalClasspath.forEach(file -> {
                        String fileHash = getArtifactHash(file);
                        if (fileHash != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 15:08:33 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. platforms/extensibility/test-kit/src/test/groovy/org/gradle/testkit/runner/internal/DefaultGradleRunnerTest.groovy

            def originalJvmArguments = ['arg3', 'arg4']
            def originalClasspath = [new File('/Users/foo/bar/test.jar').absoluteFile]
    
            when:
            def runner = createRunner()
                .withArguments(originalArguments)
                .withJvmArguments(originalJvmArguments)
                .withPluginClasspath(originalClasspath) as DefaultGradleRunner
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/recomp/AbstractRecompilationSpecProvider.java

            List<File> originalClasspath = spec.getCompileClasspath();
            File destinationDir = spec.getDestinationDir();
            spec.setCompileClasspath(ImmutableList.<File>builderWithExpectedSize(originalClasspath.size() + 1)
                .add(destinationDir)
                .addAll(originalClasspath)
                .build());
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:55:46 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/daemon-protocol/src/testFixtures/groovy/org/gradle/tooling/internal/provider/AbstractClassGraphSpec.groovy

        @Rule TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
    
        /**
         * Returns the classpath for the given classes.
         */
        List<File> originalClassPath(Class<?>... classes) {
            return classes.collect { ClasspathUtil.getClasspathForClass(it) }
        }
    
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/client-services/src/test/groovy/org/gradle/internal/daemon/client/serialization/ClasspathInfererTest.groovy

                action.execute(null)
            } finally {
                loader?.close()
            }
        }
    
        private List<File> getToolingApiClassPath() {
            originalClassPath(BuildAction)
        }
    
        private List<URL> classpathFor(Class<?> cl) {
            List<URI> classpath = []
            factory.getClassPathFor(cl, classpath)
            return classpath.collect { it.toURL() }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. platforms/core-runtime/BYTECODE-INTERCEPTION-README.md

        instrument{{"Instrument and upgrade\n(Artifact transform)"}}
        typeHierarchy(Classpath with all super types)
        artifactOutput("1. Artifact metadata: hash, name\n2. Direct Super types\n3. Class dependencies")
        originalClasspath(Original classpath)
        originalClasspathInput("Original classpath as input:\nto recalculate Resolve supertypes\nstep on classpath change")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 09:22:58 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top