Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for consumable (0.16 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. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top