Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getDefaultReservedNameAdvice (1.23 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/internal/artifacts/configurations/NoContextRoleBasedConfigurationCreationRequest.java

            String msgExpectation = getUsageExpectationMessage();
    
            DeprecationLogger.deprecate(msgDiscovery + msgExpectation)
                .withAdvice(RoleBasedConfigurationCreationRequest.getDefaultReservedNameAdvice(configurationName))
                .willBecomeAnErrorInGradle9()
                .withUserManual("authoring_maintainable_build_scripts", "sec:dont_anticipate_configuration_creation")
                .nagUser();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/configurations/RoleBasedConfigurationCreationRequest.java

         *
         * @param configurationName the name of the configuration being requested
         * @return the default advice for a deprecation warning related to this request
         */
        static String getDefaultReservedNameAdvice(String configurationName) {
            return String.format("Do not create a configuration with the name %s.", configurationName);
        }
    
        String getConfigurationName();
        ConfigurationRole getRole();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 13:42:17 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top