Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for artifactTransform (0.19 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/DisambiguateArtifactTransformIntegrationTest.groovy

        }
    
        def "transform with two attributes will not confuse"() {
            given:
            buildFile << """
    ${artifactTransform("AarRelease", "release")}
    ${artifactTransform("AarDebug", "debug")}
    ${artifactTransform("AarClasses", "classes")}
    
    def buildType = Attribute.of('buildType', String)
    def artifactType = Attribute.of('artifactType', String)
    
    projectDir.mkdirs()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/DefaultVariantTransformRegistryTest.groovy

                registration = it
            }
    
            then:
            registration instanceof DynamicObjectAware
            !(registration instanceof ExtensionAware)
        }
    
        def "fails when artifactTransform configuration action fails for registration (from and to specified"() {
            def failure = new RuntimeException("Bad config")
    
            when:
            registry.registerTransform(TestTransform) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 11:18:50 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classpath/TransformedClassPath.java

            }
            builder.append("]");
            return builder.toString();
        }
    
        /**
         * Constructs a TransformedClassPath out of the ordinary JAR/directory list, strict produced by the instrumenting ArtifactTransform.
         *
         * Artifact transform classpath should always contain pairs or triplets of files, where first file is a marker file, followed by other entries for instrumented artifact,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 13:59:11 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/artifact_transforms.adoc

    .Artifact transform attribute setup
    ====
    include::sample[dir="snippets/dependencyManagement/artifactTransforms-minify/kotlin",files="build.gradle.kts[tags=artifact-transform-attribute-setup]"]
    include::sample[dir="snippets/dependencyManagement/artifactTransforms-minify/groovy",files="build.gradle[tags=artifact-transform-attribute-setup]"]
    ====
    <1> Add the attribute to the schema
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/variant_model.adoc

               - Variant org.example:pi2e5:1.0 variant greenElementsCapability2 has attributes {color=green}
    ----
    
    [[sub:transform-ambiguity]]
    === Dealing with ambiguous transformation errors
    
    ArtifactTransforms can be used to transform artifacts from one type to another, changing their attributes.
    Variant selection can use the attributes available as the result of an artifact transform as a candidate variant.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 34.2K bytes
    - Viewed (0)
Back to top