Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for consumableUnlocked (0.17 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationContainerTest.groovy

                consumable("b", {})
            }
            verifyUnlocked(ConfigurationRoles.CONSUMABLE, "c") {
                consumableUnlocked("c")
            }
            verifyUnlocked(ConfigurationRoles.CONSUMABLE, "d") {
                consumableUnlocked("d", {})
            }
            verifyUnlocked(ConfigurationRoles.CONSUMABLE, "e") {
                maybeCreateConsumableUnlocked("e")
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:29:40 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationContainer.java

        @Override
        public Configuration consumableUnlocked(String name) {
            assertMutable("consumableUnlocked(String)");
            return createUnlockedConfiguration(name, ConfigurationRoles.CONSUMABLE, Actions.doNothing());
        }
    
        @Override
        public Configuration consumableUnlocked(String name, Action<? super Configuration> action) {
            assertMutable("consumableUnlocked(String, Action)");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 00:10:35 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ConfigurationRoleUsageIntegrationTest.groovy

                    }
                }
            """
    
            expect:
            succeeds 'help'
    
            where:
            configuration << ["legacy", "consumable", "resolvable", "consumableUnlocked", "resolvableUnlocked", "dependencyScopeUnlocked"]
        }
    
        def "can prevent usage mutation of roleless configurations"() {
            given:
            buildFile << """
                configurations {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 27 01:42:49 UTC 2024
    - 27.5K bytes
    - Viewed (0)
Back to top