Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for useProjectRules (0.12 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/management/DependencyResolutionManagementInternal.java

            PREFER_SETTINGS(false),
            FAIL_ON_PROJECT_RULES(false);
    
            private final boolean useProjectRules;
    
            RulesModeInternal(boolean useProjectRules) {
                this.useProjectRules = useProjectRules;
            }
            public boolean useProjectRules() {
                return useProjectRules;
            }
    
            public static RulesModeInternal of(RulesMode mode) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/internal/management/DefaultDependencyResolutionManagement.java

            if (!getConfiguredRepositoriesMode().useProjectRepositories()) {
                project.getRepositories().whenObjectAdded(this::repoMutationDisallowedOnProject);
            }
            if (!getConfiguredRulesMode().useProjectRules()) {
                ComponentMetadataHandlerInternal components = (ComponentMetadataHandlerInternal) project.getDependencies().getComponents();
                components.onAddRule(this::ruleMutationDisallowedOnProject);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/DefaultComponentMetadataHandler.java

                // determine whether to use the project local handler or the settings handler
                boolean useRules = dependencyResolutionManagement.getConfiguredRulesMode().useProjectRules();
                if (metadataRuleContainer.isEmpty() || !useRules) {
                    // We're creating a component metadata handler which will be applied the settings
                    // rules and the current derivation strategy
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 16.2K bytes
    - Viewed (0)
Back to top