Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for UnmodifiableUsageException (0.26 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/configurations/RoleBasedConfigurationCreationRequest.java

         * exists, but does not match the expected usage for the given role.
         */
        final class UnmodifiableUsageException extends GradleException implements ResolutionProvider {
            private final List<String> resolutions;
    
            public UnmodifiableUsageException(String configurationName, List<String> resolutions) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 13:42:17 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/internal/artifacts/configurations/AbstractRoleBasedConfigurationCreationRequest.java

         *
         * Does <strong>NOT</strong> check anything to do with deprecated usage.
         *
         * @return the existing configuration, with its usage now matching the requested usage
         * @throws UnmodifiableUsageException if the usage doesn't match this request and cannot be mutated
         */
        @Override
        public Configuration verifyExistingConfigurationUsage(Configuration conf) {
            warnAboutReservedName();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/internal/artifacts/configurations/NoContextRoleBasedConfigurationCreationRequest.java

                .nagUser();
        }
    
        @Override
        public void failOnInabilityToMutateUsage() {
            throw new UnmodifiableUsageException(getConfigurationName(), Collections.singletonList(RoleBasedConfigurationCreationRequest.getDefaultReservedNameAdvice(getConfigurationName())));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/JavaBasePlugin.java

                    RoleBasedConfigurationCreationRequest.getDefaultReservedNameAdvice(getConfigurationName()),
                    getUsageMutationAdvice());
                throw new UnmodifiableUsageException(getConfigurationName(), resolutions);
            }
    
            private String getUsageMutationAdvice() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 19 22:14:22 UTC 2023
    - 28.3K bytes
    - Viewed (0)
Back to top