- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 85 for attributesSchema (0.45 sec)
-
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/MultipleVariantSelectionIntegrationTest.groovy
buildFile << """ def CUSTOM_ATTRIBUTE = Attribute.of('custom', String) def CUSTOM2_ATTRIBUTE = Attribute.of('custom2', String) dependencies.attributesSchema.attribute(CUSTOM_ATTRIBUTE) dependencies.attributesSchema.attribute(CUSTOM2_ATTRIBUTE) """ } void "can select distinct variants of the same component by using different attributes if they have different capabilities"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 29 22:29:19 UTC 2024 - 26.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/TransformLoggingIntegrationTest.groovy
def usage = Attribute.of('usage', String) def artifactType = Attribute.of('artifactType', String) allprojects { dependencies { attributesSchema { attribute(usage) } registerTransform(GreenMultiplier) { from.attribute(artifactType, "jar")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 8.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/DependencyGraphBuilderTest.groovy
def conflictResolver = Mock(ModuleConflictResolver) def idResolver = Mock(DependencyToComponentIdResolver) def metaDataResolver = Mock(ComponentMetaDataResolver) def attributesSchema = Mock(AttributesSchemaInternal) def attributes = ImmutableAttributes.EMPTY def moduleReplacements = Mock(ModuleReplacementsData) def moduleIdentifierFactory = Mock(ImmutableModuleIdentifierFactory) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 19:04:04 UTC 2024 - 45.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/VariantAwareResolutionWithConfigurationAttributesIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 13.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyManagementResultsAsInputsIntegrationTest.groovy
include 'project-lib' """ def variantDeclaration = { sysPropName -> """ def myAttribute = Attribute.of("my.attribute.name", String) dependencies.attributesSchema { attribute(myAttribute) } configurations { runtimeElements { attributes { attribute(myAttribute, System.getProperty('$sysPropName', 'default-value')) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 19:04:04 UTC 2024 - 26.5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/initialization/CalculateTaskGraphBuildOperationIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 12.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/DependenciesAttributesIntegrationTest.groovy
class DependenciesAttributesIntegrationTest extends AbstractModuleDependencyResolveTest { def setup() { buildFile << """ def CUSTOM_ATTRIBUTE = Attribute.of('custom', String) dependencies.attributesSchema.attribute(CUSTOM_ATTRIBUTE) """ } def "can declare attributes on dependencies"() { given: repository { 'org:test:1.0'() } buildFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 13 02:13:52 UTC 2024 - 49.5K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/variant_attributes.adoc
Attribute compatibility rules have to be registered via the link:{javadocPath}/org/gradle/api/attributes/AttributeMatchingStrategy.html[attribute matching strategy] that you can obtain from the link:{javadocPath}/org/gradle/api/attributes/AttributesSchema.html[attributes schema]. [[sec:abm_disambiguation_rules]] === Attribute disambiguation rules
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 18:51:23 UTC 2024 - 17.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ArtifactDeclarationIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 15.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Nov 07 18:43:42 UTC 2023 - 100.8K bytes - Viewed (0)