Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 85 for attributesSchema (0.29 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractDirectorySensitivityIntegrationSpec.groovy

                def augmented = Attribute.of('augmented', Boolean)
                def artifactType = Attribute.of('artifactType', String)
    
                allprojects {
                    dependencies {
                        attributesSchema {
                            attribute(augmented)
                        }
    
                        artifactTypes {
                            zip {
                                attributes.attribute(augmented, false)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolvedFileOrderingIntegrationTest.groovy

        def setup() {
            settingsFile << """
    rootProject.name = 'test'
    """
            buildFile << """
    allprojects {
        dependencies {
            attributesSchema {
               attribute(Attribute.of('usage', String))
            }
        }
        configurations {
            compile
            "default" {
                extendsFrom compile
            }
        }
    }
    """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:18:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/AbstractConsoleBuildPhaseFunctionalTest.groovy

                        outputs.file(inputArtifact)
                        outputs.file(inputArtifact)
                    }
                }
    
                allprojects {
                    dependencies {
                        attributesSchema {
                            attribute(usage)
                        }
                    }
                    configurations {
                        compile {
                            attributes.attribute usage, 'api'
    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. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RepositoryInteractionDependencyResolveIntegrationTest.groovy

        ]
    
        def setup() {
            // apply Java ecosystem rules
            buildFile << """
                org.gradle.api.internal.artifacts.JavaEcosystemSupport.configureSchema(
                    dependencies.attributesSchema,
                    project.objects
                )
            """
        }
    
        private static boolean leaksRuntime(testVariant, repoType, prevRepoType = null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/DisambiguateArtifactTransformIntegrationTest.groovy

    def artifactType = Attribute.of('artifactType', String)
    
    projectDir.mkdirs()
    def jar1 = file('lib1.jar')
    jar1.text = 'some text'
    
    configurations {
        compile
    }
    
    dependencies {
        attributesSchema {
            attribute(buildType)
        }
    
        compile files(jar1)
    
        registerTransform(AarRelease) {
            from.attribute(artifactType, 'jar')
            to.attribute(artifactType, 'aar')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractLineEndingSensitivityIntegrationSpec.groovy

                def augmented = Attribute.of('augmented', Boolean)
                def artifactType = Attribute.of('artifactType', String)
    
                allprojects {
                    dependencies {
                        attributesSchema {
                            attribute(augmented)
                        }
    
                        artifactTypes {
                            zip {
                                attributes.attribute(augmented, false)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformParallelIntegrationTest.groovy

                    def usage = Attribute.of('usage', String)
                    def artifactType = Attribute.of('artifactType', String)
    
                    allprojects {
                        dependencies {
                            attributesSchema {
                                attribute(usage)
                            }
                        }
                        configurations {
                            compile {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:31 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/ProducerTaskCommandLineOrderIntegrationTest.groovy

            return """
                def artifactType = Attribute.of('artifactType', String)
                def compressed = Attribute.of('compressed', Boolean)
    
                dependencies {
                    attributesSchema {
                        attribute(compressed)
                    }
                    artifactTypes {
                        zip {
                            attributes.attribute(compressed, true)
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:34 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/DependencyInsightReportVariantDetailsIntegrationTest.groovy

            mavenRepo.module('org', 'testB', '1.0').publish()
    
            buildFile << """
                def CUSTOM_ATTRIBUTE = Attribute.of('custom', CustomAttributeType)
                dependencies.attributesSchema.attribute(CUSTOM_ATTRIBUTE)
                def configValue = objects.named(CustomAttributeType.class, 'conf_value')
                def dependencyValue = objects.named(CustomAttributeType.class, 'dep_value')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy

                include 'app2'
            """
            buildFile << """
                def color = Attribute.of('color', String)
    
                allprojects {
                    dependencies {
                        attributesSchema {
                            attribute(color)
                        }
                    }
                    configurations {
                        compile {
                            attributes.attribute color, 'blue'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
Back to top