Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for consumable (0.33 sec)

  1. 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)
  2. 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)
  3. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationRole.java

        private final String name;
        private final boolean consumable;
        private final boolean resolvable;
        private final boolean declarable;
        private final boolean consumptionDeprecated;
        private final boolean resolutionDeprecated;
        private final boolean declarationDeprecated;
    
        public DefaultConfigurationRole(
            String name,
            boolean consumable,
            boolean resolvable,
            boolean declarable,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 19 20:29:18 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/configurations/UsageDescriber.java

         *
         * @param isConsumable whether the configuration is consumable
         * @param isResolvable whether the configuration is resolvable
         * @param isDeclarable whether the configuration is declarable
         * @param isConsumptionDeprecated whether the configuration's consumable behavior is deprecated
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 16:04:58 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/ConfigurationRolesSpec.groovy

        }
    
        def "can not find unknown usage combinations consumable=#consumable, resolvable=#resolvable, declarable=#declarable"() {
            expect:
            !ConfigurationRoles.byUsage(consumable, resolvable, declarable).isPresent()
    
            where:
            consumable  | resolvable    | declarable
            false       | false         | false
            true        | true          | false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. 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)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ConfigurationContainerExtensions.kt

            delegate.resolvable(name, action)
    
        override fun consumable(name: String): NamedDomainObjectProvider<ConsumableConfiguration> =
            delegate.consumable(name)
    
        override fun consumable(name: String, action: Action<in ConsumableConfiguration>): NamedDomainObjectProvider<ConsumableConfiguration> =
            delegate.consumable(name, action)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 25 22:24:03 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/ConfigurationRoleSpec.groovy

            where:
            role                                            || usages
            ConfigurationRoles.LEGACY                       || [UsageDescriber.CONSUMABLE, UsageDescriber.RESOLVABLE, UsageDescriber.DECLARABLE_AGAINST]
            ConfigurationRoles.CONSUMABLE                   || [UsageDescriber.CONSUMABLE]
            ConfigurationRoles.RESOLVABLE                   || [UsageDescriber.RESOLVABLE]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ConfigurationContainer.java

        /**
         * Registers a new {@link ConsumableConfiguration} with an immutable role. Consumable configurations
         * are meant to act as a variant in the context of Dependency Management and Publishing.
         *
         * @param name The name of the configuration to register.
         *
         * @return A provider which creates a new consumable configuration.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 20:25:05 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/ModelElement.java

         * Some element have their name generated or automatically assigned, and for these elements the name may not be human consumable.
         */
        @Override
        String getName();
    
        /**
         * Returns a human-consumable display name for this element.
         */
        String getDisplayName();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top