- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for undeclarable (0.24 sec)
-
subprojects/diagnostics/src/integTest/groovy/org/gradle/api/reporting/dependencies/HtmlDependencyReportTaskIntegrationTest.groovy
maven { url "${mavenRepo.uri}" } } configurations { declarable { canBeDeclared = true } undeclarable { canBeDeclared = false extendsFrom(declarable) } } """ when: run "htmlDependencyReport"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 26.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/artifacts/configurations/UsageDescriber.java
* @param isDeclarable whether the configuration is declarable * @param isConsumptionDeprecated whether the configuration's consumable behavior is deprecated * @param isResolutionDeprecated whether the configuration's resolvable behavior is deprecated * @param isDeclarationAgainstDeprecated whether the configuration's declarable behavior is deprecated * @return description of the given usage
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 20 16:04:58 UTC 2023 - 4.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationRole.java
public boolean isConsumable() { return consumable; } @Override public boolean isResolvable() { return resolvable; } @Override public boolean isDeclarable() { return declarable; } @Override public boolean isConsumptionDeprecated() { return consumptionDeprecated; } @Override public boolean isResolutionDeprecated() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 19 20:29:18 UTC 2023 - 3.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/artifacts/configurations/ConfigurationRoles.java
* * @return the role enum token with matching usage characteristics, if one exists; otherwise {@link Optional#empty()} */ public static Optional<ConfigurationRole> byUsage(boolean consumable, boolean resolvable, boolean declarable) { for (ConfigurationRole role : ALL) {
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/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) -
subprojects/core/src/main/java/org/gradle/api/internal/artifacts/configurations/ConfigurationRole.java
*/ public interface ConfigurationRole { /** * Returns a human-readable name for this role. */ String getName(); boolean isConsumable(); boolean isResolvable(); boolean isDeclarable(); boolean isConsumptionDeprecated(); boolean isResolutionDeprecated(); boolean isDeclarationAgainstDeprecated(); /** * Obtains a human-readable summary of the usage allowed by the given role.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 09 14:39:12 UTC 2023 - 2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/artifacts/configurations/ConfigurationRolesForMigration.java
boolean declarationAgainstDeprecated = initialRole.isDeclarable() && !eventualRole.isDeclarable(); return new DefaultConfigurationRole( initialRole.getName(), initialRole.isConsumable(), initialRole.isResolvable(), initialRole.isDeclarable(), consumptionDeprecated, resolutionDeprecated,
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/test/groovy/org/gradle/api/internal/artifacts/configurations/UsageDescriberSpec.groovy
expect: UsageDescriber.describeRole(role) == "\tResolvable - this configuration can be resolved by this project to a set of files\n" + "\tDeclarable - this configuration can have dependencies added to it (but this behavior is marked deprecated)" } def "can describe usage for role which allows nothing"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationContainerTest.groovy
assert role.resolvable == it instanceof ResolvableConfiguration assert role.declarable == it instanceof DependencyScopeConfiguration assert role.consumable == it instanceof ConsumableConfiguration assert role.resolvable == it.isCanBeResolved() assert role.declarable == it.isCanBeDeclared() assert role.consumable == it.isCanBeConsumed() } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 17:29:40 UTC 2024 - 16.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/moduleconverter/dependencies/DefaultLocalConfigurationMetadataBuilder.java
// Configurations that are not declarable should not have dependencies or constraints present, // but we need to allow dependencies to be checked to avoid emitting many warnings when the // Kotlin plugin is applied. This is because applying the Kotlin plugin adds dependencies // to the testRuntimeClasspath configuration, which is not declarable.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 16:00:57 UTC 2024 - 18K bytes - Viewed (0)