Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for registerTransforms (0.26 sec)

  1. build-logic/packaging/src/main/kotlin/gradlebuild.public-api-jar.gradle.kts

        artifactTypes.getByName("jar") {
            attributes.attribute(filteredAttribute, Filtering.ALL)
        }
    
        // Filters out classes that are not exposed by our API.
        // TODO Use actual filtering not copying
        registerTransform(CopyPublicApiClassesTransform::class.java) {
            from.attribute(filteredAttribute, Filtering.ALL)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 11:35:55 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractDirectorySensitivityIntegrationSpec.groovy

                    }
                }
    
                dependencies {
                    registerTransform(UnzipTransform) {
                        from.attribute(augmented, false).attribute(artifactType, "zip")
                        to.attribute(augmented, false).attribute(artifactType, "directory")
                    }
                    registerTransform(AugmentTransform) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/AbstractConsoleBuildPhaseFunctionalTest.groovy

                    dependencies {
                        compile project(':lib')
                        registerTransform(FileDoubler) {
                            from.attribute(artifactType, "jar")
                            to.attribute(artifactType, "double")
                        }
                        registerTransform(FileSizer) {
                            from.attribute(artifactType, "double")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 07:25:15 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractLineEndingSensitivityIntegrationSpec.groovy

                    }
                }
    
                dependencies {
                    registerTransform(UnzipTransform) {
                        from.attribute(augmented, false).attribute(artifactType, "zip")
                        to.attribute(augmented, false).attribute(artifactType, "directory")
                    }
                    registerTransform(AugmentTransform) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/dependencies/DefaultDependencyHandler.java

            return artifactTypeContainer.getDefaultArtifactAttributes();
        }
    
        @Override
        public <T extends TransformParameters> void registerTransform(Class<? extends TransformAction<T>> actionType, Action<? super TransformSpec<T>> registrationAction) {
            transforms.registerTransform(actionType, registrationAction);
        }
    
        @Override
        public Dependency platform(Object notation) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 29 08:14:09 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIncrementalIntegrationTest.groovy

                    def instrumented = Attribute.of('${INSTRUMENTED_ATTRIBUTE.name}', String.class)
                    dependencies {
                        classpath "com.test:lib:1.0"
                        registerTransform(MakeColor) {
                            from.attribute(artifactType, 'jar').attribute(instrumented, '${NOT_INSTRUMENTED.value}')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 10:57:29 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy

            withIdentityTransform()
            buildFile '''
                apply plugin: 'base'
                configurations {
                    implementation
                }
                dependencies {
                    registerTransform(IdentityTransform) {
                        from.attribute(artifactType, 'zip')
                        to.attribute(artifactType, 'jar')
                    }
                    implementation(project(':p1'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 12:54:09 UTC 2024
    - 21K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformExecutionBuildOperationIntegrationTest.groovy

                    }
                }
    
                allprojects {
                    dependencies {
                       registerTransform(Multiplier) {
                            from.attribute(color, 'blue')
                            to.attribute(color, 'red')
                        }
                        registerTransform(MakeGreen) {
                            from.attribute(color, 'red')
                            to.attribute(color, 'green')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 16:27:38 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionIntegrationTest.groovy

                dependencies {
                    artifactTypes {
                        green {
                            attributes.attribute(color, 'green')
                        }
                    }
                    registerTransform(MakeRed) {
                        from.attribute(color, 'green')
                        to.attribute(color, 'red')
                    }
                }
    
                configurations {
                    transformed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/LocalFileDependencyBackedArtifactSetCodec.kt

            throw UnsupportedOperationException("Should not be called")
        }
    }
    
    
    private
    object EmptyVariantTransformRegistry : VariantTransformRegistry {
        override fun <T : TransformParameters?> registerTransform(actionType: Class<out TransformAction<T>>, registrationAction: Action<in org.gradle.api.artifacts.transform.TransformSpec<T>>) {
            throw UnsupportedOperationException("Should not be called")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top