Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for maybeCreateConsumableUnlocked (0.28 sec)

  1. platforms/software/platform-base/src/main/java/org/gradle/api/plugins/BasePlugin.java

            final Configuration archivesConfiguration = configurations.maybeCreateConsumableUnlocked(Dependency.ARCHIVES_CONFIGURATION)
                .setDescription("Configuration for archive artifacts.");
    
            configurations.maybeCreateConsumableUnlocked(Dependency.DEFAULT_CONFIGURATION)
                .setDescription("Configuration for default artifacts.");
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  2. testing/architecture-test/src/changes/archunit-store/configuration-factory-methods.txt

    Method <org.gradle.api.plugins.BasePlugin.configureConfigurations(org.gradle.api.Project)> calls method <org.gradle.api.internal.artifacts.configurations.RoleBasedConfigurationContainerInternal.maybeCreateConsumableUnlocked(java.lang.String)> in (BasePlugin.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. testing/architecture-test/src/changes/archunit-store/stored.rules

    nerInternal.resolvableDependencyScopeUnlocked(String,\ Action)\ or\ should\ call\ method\ RoleBasedConfigurationContainerInternal.maybeCreateResolvableUnlocked(String)\ or\ should\ call\ method\ RoleBasedConfigurationContainerInternal.maybeCreateConsumableUnlocked(String)\ or\ should\ call\ method\ RoleBasedConfigurationContainerInternal.maybeCreateDependencyScopeUnlocked(String)\ or\ should\ call\ method\ RoleBasedConfigurationContainerInternal.maybeCreateDependencyScopeUnlocked(String,\ boolean)\...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. testing/architecture-test/src/test/java/org/gradle/architecture/test/ConfigurationCreationTest.java

                .orShould().callMethod("org.gradle.api.internal.artifacts.configurations.RoleBasedConfigurationContainerInternal", "maybeCreateConsumableUnlocked", String.class.getName())
                .orShould().callMethod("org.gradle.api.internal.artifacts.configurations.RoleBasedConfigurationContainerInternal", "maybeCreateDependencyScopeUnlocked", String.class.getName())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/configurations/RoleBasedConfigurationContainerInternal.java

         * would be set if the configuration needed to be created; it will emit an additional deprecation warning when doing this.
         */
        Configuration maybeCreateConsumableUnlocked(String name);
    
        /**
         * If a configuration with the given name already exists, return it.
         * Otherwise, creates a new dependency scope configuration with the given name.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 20:25:05 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationContainerTest.groovy

            }
            verifyUnlocked(ConfigurationRoles.CONSUMABLE, "d") {
                consumableUnlocked("d", {})
            }
            verifyUnlocked(ConfigurationRoles.CONSUMABLE, "e") {
                maybeCreateConsumableUnlocked("e")
            }
        }
    
        def "creates dependency scope configuration"() {
            expect:
            verifyRole(ConfigurationRoles.DEPENDENCY_SCOPE, "a") {
                dependencyScope("a")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:29:40 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationContainer.java

            return doMaybeCreate(new NoContextRoleBasedConfigurationCreationRequest(name, ConfigurationRoles.RESOLVABLE), true);
        }
    
        @Override
        public Configuration maybeCreateConsumableUnlocked(String name) {
            return doMaybeCreate(new NoContextRoleBasedConfigurationCreationRequest(name, ConfigurationRoles.CONSUMABLE), true);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 00:10:35 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  8. platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/jvm/internal/DefaultJvmFeature.java

                return configurations.maybeCreateMigratingUnlocked(name, ConfigurationRolesForMigration.CONSUMABLE_DEPENDENCY_SCOPE_TO_CONSUMABLE);
            } else {
                return configurations.maybeCreateConsumableUnlocked(name);
            }
        }
    
        @Override
        public void withApi() {
            // If the Kotlin JVM plugin is applied, after it applies the Java plugin, it will create the API configuration.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 21K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ConfigurationRoleUsageIntegrationTest.groovy

            "configurations.consumableUnlocked('additionalRuntimeClasspath')"               | ConfigurationRoles.CONSUMABLE | true      | "internal unlocked role-based configuration"
            "configurations.maybeCreateConsumableUnlocked('additionalRuntimeClasspath')"    | ConfigurationRoles.CONSUMABLE | true      | "internal unlocked role-based configuration, if it doesn't already exist"
        }
    
    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