Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 130 for consumable (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top