Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for consumableUnlocked (0.23 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. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/configurations/RoleBasedConfigurationContainerInternal.java

        /**
         * Creates a consumable configuration which can change roles.
         */
        Configuration consumableUnlocked(String name);
    
        /**
         * Creates a consumable configuration which can change roles and executes the provided
         * {@code action} against the configuration.
         */
        Configuration consumableUnlocked(String name, Action<? super Configuration> action);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 20:25:05 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. 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