- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for addResolutionAlternatives (0.36 sec)
-
subprojects/core-api/src/main/java/org/gradle/internal/deprecation/DeprecatableConfiguration.java
* * <p>This property is only relevant if this configuration deprecated for resolution.</p> */ void addResolutionAlternatives(String... alternativesForResolving); /** * If this configuration is deprecated for consumption, emit a deprecation warning. */ default void maybeEmitConsumptionDeprecation() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 07 03:39:06 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ConfigurationRoleUsageIntegrationTest.groovy
configurations { deps migratingUnlocked("testConf", org.gradle.api.internal.artifacts.configurations.ConfigurationRolesForMigration.LEGACY_TO_CONSUMABLE) { addResolutionAlternatives("anotherConf") extendsFrom(deps) } } repositories { maven { url "${mavenRepo.uri}" } } dependencies {
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/DefaultConfigurationSpec.groovy
def resolutionStrategyCopy = Mock(ResolutionStrategyInternal) 1 * resolutionStrategy.copy() >> resolutionStrategyCopy configuration.addDeclarationAlternatives("declaration") configuration.addResolutionAlternatives("resolution") when: def copy = configuration.copy() then: // This is not desired behavior. Roles should be copied without modification. copy.canBeDeclared
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 17:30:13 UTC 2024 - 64.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfiguration.java
.addAll(declarationAlternatives) .addAll(Arrays.asList(alternativesForDeclaring)) .build(); } @Override public void addResolutionAlternatives(String... alternativesForResolving) { this.resolutionAlternatives = ImmutableList.<String>builder() .addAll(resolutionAlternatives) .addAll(Arrays.asList(alternativesForResolving))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 17:36:01 UTC 2024 - 85.4K bytes - Viewed (0)