- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 120 for consumable (0.39 sec)
-
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ConfigurationRolesIntegrationTest.groovy
where: first | second "consumable" | "resolvable" "consumable" | "dependencyScope" "resolvable" | "consumable" "resolvable" | "dependencyScope" "dependencyScope" | "consumable" "dependencyScope" | "resolvable" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 15 15:38:24 UTC 2023 - 15.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/artifacts/configurations/ConfigurationRolesForMigration.java
/** * A consumable dependency scope that will become a consumable configuration in the next major version. */ @SuppressWarnings("deprecation") public static final ConfigurationRole CONSUMABLE_DEPENDENCY_SCOPE_TO_CONSUMABLE = difference(ConfigurationRoles.CONSUMABLE_DEPENDENCY_SCOPE, ConfigurationRoles.CONSUMABLE); /** * All known migration roles. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jul 12 16:55:27 UTC 2023 - 5.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/DeprecatedConfigurationUsageIntegrationTest.groovy
'attributes(Action)' | 'dependencyScope' | "attributes { attribute(Attribute.of('foo', String), 'bar') }" || [ProperMethodUsage.CONSUMABLE, ProperMethodUsage.RESOLVABLE] 'defaultDependencies(Action)' | 'consumable' | 'defaultDependencies { }' || [ProperMethodUsage.DECLARABLE_AGAINST]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 09 02:32:37 UTC 2024 - 15.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/artifacts/configurations/ConfigurationRoles.java
*/ private static ConfigurationRole createNonDeprecatedRole(String name, boolean consumable, boolean resolvable, boolean declarable) { return new DefaultConfigurationRole(name, consumable, resolvable, declarable, false, false, false); } private static final Set<ConfigurationRole> ALL = ImmutableSet.of( LEGACY, CONSUMABLE, RESOLVABLE, RESOLVABLE_DEPENDENCY_SCOPE, CONSUMABLE_DEPENDENCY_SCOPE, DEPENDENCY_SCOPE );
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jul 12 16:55:27 UTC 2023 - 4.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ConfigurationRoleUsageIntegrationTest.groovy
expect: fails 'help' assertUsageLockedFailure('conf', type) where: createCode | type "consumable('conf')" | 'Consumable' "consumable('conf') { }" | 'Consumable' "resolvable('conf')" | 'Resolvable' "resolvable('conf') { }" | 'Resolvable' "dependencyScope('conf')" | 'Dependency Scope'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 27 01:42:49 UTC 2024 - 27.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/ConfigurationRolesSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationContainerTest.groovy
} } def "creates consumable configurations"() { expect: verifyRole(ConfigurationRoles.CONSUMABLE, "a") { consumable("a") } verifyRole(ConfigurationRoles.CONSUMABLE, "b") { consumable("b", {}) } verifyUnlocked(ConfigurationRoles.CONSUMABLE, "c") { consumableUnlocked("c") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 17:29:40 UTC 2024 - 16.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/InspectsConfigurationReport.groovy
} void doesNotHaveLegacyLegend() { outputDoesNotContain("(l) Legacy or deprecated configuration. Those are variants created for backwards compatibility which are both resolvable and consumable.") } void hasIncubatingLegend() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/local/model/LocalComponentGraphResolveStateFactoryTest.groovy
def parent = dependencyScope("parent") consumable("conf", [parent]) expect: state.candidatesForGraphVariantSelection.getVariantByConfigurationName("conf", Stub(ResolutionFailureHandler)) } def "configuration has no dependencies or artifacts when none have been added"() { given: def parent = dependencyScope("parent") consumable("conf", [parent]) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 19:04:04 UTC 2024 - 15.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ExclusiveVariantsIntegrationTest.groovy
into layout.buildDirectory.dir('sampleContent') } """.stripIndent() expect: fails("resolveSample") failure.assertHasDocumentedCause("Consumable configurations with identical capabilities within a project (other than the default configuration) must have unique attributes, but configuration ':sample1' and [configuration ':sample2'] contain identical attribute sets. " +
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 05 20:34:52 UTC 2024 - 16.7K bytes - Viewed (0)