Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DefaultConfigurationRole (0.15 sec)

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

        }
    
        void "deprecations are passed to copies when corresponding role is #baseRole"() {
            ConfigurationRole role = new DefaultConfigurationRole("test", baseRole.consumable, baseRole.resolvable, baseRole.declarable, true, true, true)
            def configuration = prepareConfigurationForCopyTest(conf("conf", ":", ":", role))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfiguration.java

            boolean deprecateResolution = !canBeResolved || resolutionDeprecated;
            boolean deprecateDeclarationAgainst = !canBeDeclaredAgainst || declarationDeprecated;
            ConfigurationRole adjustedCurrentUsage = new DefaultConfigurationRole(
                "adjusted current usage with deprecations",
                true, true, true,
                deprecateConsumption, deprecateResolution, deprecateDeclarationAgainst
            );
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:36:01 UTC 2024
    - 85.4K bytes
    - Viewed (0)
Back to top