Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,136 for transform1 (0.14 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/classpath/InstrumentingClasspathFileTransformer.java

                configHashFor(classpathElementTransformFactory, transform, gradleCoreInstrumentationTypeRegistry),
                classpathFileHasher);
            this.classpathElementTransformFactory = classpathElementTransformFactory;
            this.transform = transform;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 27 13:36:38 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/TransformBackedProvider.java

        protected final Transformer<? extends OUT, ? super IN> transformer;
    
        public TransformBackedProvider(
            @Nullable Class<OUT> type,
            ProviderInternal<? extends IN> provider,
            Transformer<? extends OUT, ? super IN> transformer
        ) {
            this.type = type;
            this.transformer = transformer;
            this.provider = provider;
        }
    
        @Nullable
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/mutator/ClearArtifactTransformCacheWithoutInstrumentedJarsMutator.groovy

            System.out.println("> Cleaning '<gradle-home>/caches/transforms-*/' and '<gradle-home>/caches/<gradle-version>/transforms/*' caches in " + gradleUserHome)
            File caches = new File(gradleUserHome, "caches")
    
            // <gradle-home>/caches/transforms-*
            List<File> oldCaches = caches.listFiles().findAll {
                it.isDirectory() && it.name.startsWith("transforms-")
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 12:30:06 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/internal/classpath/CachedClasspathTransformer.java

            BuildLogic, None
        }
    
        /**
         * Transforms a classpath to a classpath with the given transformations applied.
         */
        ClassPath transform(ClassPath classPath, StandardTransform transform);
    
        /**
         * Transforms a classpath to a classpath with the given transformations applied.
         */
        ClassPath transform(ClassPath classPath, ClassTransform additional);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/ConsumerProvidedVariantFinder.java

             * @param transforms The remaining transforms which may be prepended to {@code chain} to produce a solution.
             */
            public ChainState(@Nullable ChainNode chain, ImmutableAttributes requested, ImmutableFilteredList<TransformRegistration> transforms) {
                this.chain = chain;
                this.requested = requested;
                this.transforms = transforms;
            }
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/FilterChain.java

                    }
                }
            });
        }
    
        public void add(final Transformer<String, String> transformer) {
            transformers.add(new Transformer<Reader, Reader>() {
                @Override
                public Reader transform(Reader reader) {
                    return new LineFilter(reader, transformer);
                }
            });
        }
    
        public void add(final Closure closure) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 10:14:55 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/base-services-groovy/src/test/groovy/org/gradle/api/internal/coerce/StringToEnumTransformerTest.groovy

        def transformer = new StringToEnumTransformer()
    
        static enum TestEnum {
            ABC, DEF
        }
    
        def "can transform enums correctly - #desc"() {
            def typesArray = types.collect { new CachedClass(it, null) } as CachedClass[]
            def argsArray = args as Object[]
    
            expect:
            transformer.transform(typesArray, argsArray).toList() == transformed
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/TransformersTest.groovy

            expect:
            asString().transform(1) == "1"
            asString().transform(null) == null
        }
    
        def "to URL"() {
            expect:
            toURL().transform(new URI("http://localhost:80/path")) == new URL("http://localhost:80/path")
        }
    
        def "by type"() {
            expect:
            type().transform("foo") == String
        }
    
        def "action as transformer"() {
            def action = Mock(Action)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/RenamingCopyActionTest.groovy

            details.getRelativePath() >> new RelativePath(true, "a", "b")
        }
    
        def 'transforms last segment of path with non-null input'() {
            when:
            action.execute(details);
    
            then:
            1 * transformer.transform('b') >> 'c'
            1 * details.setRelativePath(new RelativePath(true, "a", "c"))
        }
    
        def 'does not transform last segment of path with null input'() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 29 08:19:40 UTC 2016
    - 1.6K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classpath/TransformedClassPath.java

            Set<File> thisClassPathFiles = ImmutableSet.copyOf(originalClassPath.getAsFiles());
            mergedTransforms.putAll(transforms);
            for (Map.Entry<File, File> appendedTransform : classPath.transforms.entrySet()) {
                // If the file is already present on this classpath, it keeps its transform (or lack thereof).
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 13:59:11 UTC 2024
    - 18.1K bytes
    - Viewed (0)
Back to top