- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 85 for attributesSchema (0.24 sec)
-
subprojects/core-api/src/main/java/org/gradle/api/attributes/AttributesSchema.java
import java.util.Set; /** * An attributes schema stores information about {@link Attribute attributes} and how they * can be matched together. * * @since 3.3 * */ public interface AttributesSchema { /** * Returns the matching strategy for a given attribute. * @param attribute the attribute * @param <T> the type of the attribute * @return the matching strategy for this attribute.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 07 20:56:10 UTC 2022 - 3.9K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy
sampleDoc << """ === Invalid Javadoc Links
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 28 22:01:54 UTC 2022 - 7.8K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/main/java/org/gradle/api/internal/artifacts/JavaEcosystemSupport.java
public static void configureSchema(AttributesSchema attributesSchema, final ObjectFactory objectFactory) { configureUsage(attributesSchema, objectFactory); configureLibraryElements(attributesSchema, objectFactory); configureBundling(attributesSchema); configureTargetPlatform(attributesSchema); configureTargetEnvironment(attributesSchema);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 19:13:00 UTC 2024 - 18.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/local/model/LocalComponentGraphResolveMetadata.java
private final String status; private final AttributesSchemaInternal attributesSchema; public LocalComponentGraphResolveMetadata( ModuleVersionIdentifier moduleVersionId, ComponentIdentifier componentId, String status, AttributesSchemaInternal attributesSchema ) { this.moduleVersionId = moduleVersionId; this.componentId = componentId;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 16:00:57 UTC 2024 - 2.5K bytes - Viewed (0) -
subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/configurations/model/ConfigurationReportModelFactory.java
@SuppressWarnings("unchecked") Attribute<Object> key = (Attribute<Object>) attribute; return new ReportAttribute(key, null, getDisambiguationPrecedence(attribute, attributesSchema).orElse(null)); } private Optional<Integer> getDisambiguationPrecedence(Attribute<?> attribute, AttributesSchema attributesSchema) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 05 20:34:52 UTC 2024 - 12.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/AttributeMatchingArtifactVariantSelectorSpec.groovy
def transformedVariantFactory = Mock(TransformedVariantFactory) def dependenciesResolverFactory = Mock(TransformUpstreamDependenciesResolverFactory) def attributeMatcher = Mock(AttributeMatcher) def attributesSchema = Mock(AttributesSchemaInternal) { withProducer(_) >> attributeMatcher getConsumerDescribers() >> [] getFailureDescribers(_) >> [] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 13:08:22 UTC 2024 - 8.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/delegates/DependencyHandlerDelegate.kt
delegate.createArtifactResolutionQuery() override fun attributesSchema(configureAction: Action<in AttributesSchema>): AttributesSchema = delegate.attributesSchema(configureAction) override fun getAttributesSchema(): AttributesSchema = delegate.attributesSchema override fun getArtifactTypes(): ArtifactTypeContainer = delegate.artifactTypes
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 6.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/dependencies/PlatformSupport.java
} public void configureSchema(AttributesSchemaInternal attributesSchema) { configureCategoryDisambiguationRule(attributesSchema); attributesSchema.addFailureDescriber(IncompatibleGraphVariantFailure.class, TargetJVMVersionOnLibraryTooNewFailureDescriber.class); } private void configureCategoryDisambiguationRule(AttributesSchema attributesSchema) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 00:47:05 UTC 2024 - 5.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/LocalComponentDependencyMetadataTest.groovy
toComponent.getCandidatesForGraphVariantSelection().variants.addAll([toFooVariant, toBarVariant]) attributesSchema.attribute(Attribute.of('key', String)) attributesSchema.attribute(Attribute.of('extra', String)) expect: dep.selectVariants(variantSelector, attributes(queryAttributes), toComponent, attributesSchema, [] as Set).variants.name as Set == [expected] as Set where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:10:53 UTC 2024 - 25.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/dependencies/DefaultDependencyHandler.java
} @Override public AttributesSchema attributesSchema(Action<? super AttributesSchema> configureAction) { configureAction.execute(attributesSchema); return attributesSchema; } @Override public AttributesSchema getAttributesSchema() { return attributesSchema; } private void configureSchema() { attributesSchema.attribute(ARTIFACT_TYPE_ATTRIBUTE); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 29 08:14:09 UTC 2024 - 22.3K bytes - Viewed (0)