Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 85 for attributesSchema (0.35 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheUnsupportedTypesIntegrationTest.groovy

            DefaultAttributesSchema               | AttributesSchema               | "project.dependencies.attributesSchema"
            DefaultAttributeMatchingStrategy      | AttributeMatchingStrategy      | "project.dependencies.attributesSchema.attribute(Usage.USAGE_ATTRIBUTE)"
            DefaultCompatibilityRuleChain         | CompatibilityRuleChain         | "project.dependencies.attributesSchema.attribute(Usage.USAGE_ATTRIBUTE).compatibilityRules"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/dependencyManagement/modelingFeatures-crossProjectPublications-advanced/kotlin/consumer/build.gradle.kts

            }
        }
    }
    // end::ask-for-instrumented-classes[]
    
    // tag::compatibility-rule-use[]
    dependencies {
        attributesSchema {
            attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE) {
                compatibilityRules.add(InstrumentedJarsRule::class.java)
            }
        }
    }
    // end::compatibility-rule-use[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentAttributesRulesIntegrationTest.groovy

                            attribute targetAttribute, ${fixApplied ? '"qa"' : '"canary"'}
                        }
                    }
                }
    
                dependencies {
                    attributesSchema {
                        attribute(quality)
                    }
                    components {
                        withModule('org.test:module', AttributeRule, {
                            params(quality)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/dependencyManagement/modelingFeatures-crossProjectPublications-advanced-published/kotlin/consumer/build.gradle.kts

            }
        }
    }
    // end::ask-for-instrumented-classes[]
    
    // tag::compatibility-rule-use[]
    dependencies {
        attributesSchema {
            attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE) {
                compatibilityRules.add(InstrumentedJarsRule::class.java)
            }
        }
    }
    // end::compatibility-rule-use[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/dependencyManagement/artifactTransforms-incremental/kotlin/build.gradle.kts

    dependencies {
        registerTransform(CountLoc::class) {
            from.attribute(artifactType, "java")
            to.attribute(artifactType, "loc")
        }
    }
    
    dependencies {
        attributesSchema {
            attribute(usage)
        }
    }
    configurations.create("compile") {
        attributes.attribute(usage, "api")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/dependencyManagement/artifactTransforms-incremental/groovy/build.gradle

    dependencies {
        registerTransform(CountLoc) {
            from.attribute(artifactType, 'java')
            to.attribute(artifactType, 'loc')
        }
    }
    
    dependencies {
        attributesSchema {
            attribute(usage)
        }
    }
    configurations.create("compile") {
        attributes.attribute usage, 'api'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectSpec.groovy

            serviceRegistry.add(TaskContainerInternal, Stub(TaskContainerInternal))
            serviceRegistry.add(InstantiatorFactory, Stub(InstantiatorFactory))
            serviceRegistry.add(AttributesSchema, Stub(AttributesSchema))
            serviceRegistry.add(ModelRegistry, Stub(ModelRegistry))
            serviceRegistry.add(CrossProjectModelAccess, Stub(CrossProjectModelAccess))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/StringConfigurationAttributesResolveIntegrationTest.groovy

                def buildType = Attribute.of('buildType', String)
                def extra = Attribute.of('extra', String)
    
                allprojects {
                   dependencies {
                       attributesSchema {
                          attribute(flavor)
                          attribute(buildType)
                          attribute(extra)
                       }
                   }
                }
            '''
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/dependencyManagement/attributeMatching/groovy/build.gradle

    def myAttribute = Attribute.of("my.attribute.name", String)
    // An attribute of type `Usage`
    def myUsage = Attribute.of("my.usage.attribute", Usage)
    // end::define_attribute[]
    
    // tag::register-attributes[]
    dependencies.attributesSchema {
        // registers this attribute to the attributes schema
        attribute(myAttribute)
        attribute(myUsage)
    }
    // end::register-attributes[]
    
    // tag::attributes-on-configurations[]
    configurations {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectTest.groovy

        PluginContainer pluginContainer = Stub(PluginContainer)
        ManagedProxyFactory managedProxyFactory = Stub(ManagedProxyFactory)
        AntLoggingAdapter antLoggingAdapter = Stub(AntLoggingAdapter)
        AttributesSchema attributesSchema = Stub(AttributesSchema)
        TextFileResourceLoader textResourceLoader = Stub(TextFileResourceLoader)
        ApiTextResourceAdapter.Factory textResourceAdapterFactory = Stub(ApiTextResourceAdapter.Factory)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top