Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 635 for forced (0.16 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/alignment/ForcingPlatformAlignmentTest.groovy

                        forced()
                        byConstraint("belongs to platform org:platform:2.7.9")
                    }
                    module("org:databind:2.7.9") {
                        forced()
                        byConstraint("belongs to platform org:platform:2.7.9")
                        module('org:annotations:2.7.9') {
                            forced()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/alignment/ForcingUsingStrictlyPlatformAlignmentTest.groovy

                        forced()
                    }
                    edge("org:databind:{strictly 2.7.9}", "org:databind:2.7.9") {
                        byConstraint('belongs to platform org:platform:2.7.9')
                        forced()
                        module('org:annotations:2.7.9') {
                            byConstraint('belongs to platform org:platform:2.7.9')
                            forced()
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultResolutionStrategySpec.groovy

        def "allows setting forced modules"() {
            expect:
            strategy.forcedModules.empty
    
            when:
            strategy.force 'org.foo:bar:1.0', 'org.foo:baz:2.0'
    
            then:
            def versions = strategy.forcedModules as List
            versions.size() == 2
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/internal/insight/DependencyInsightReporterSpec.groovy

            then:
            sorted.size() == 5
    
            sorted[0].name == 'a:x:2.0'
            sorted[0].description == 'by conflict resolution'
    
            sorted[1].name == 'a:x:2.0'
            sorted[1].description == null
    
            sorted[2].name == 'a:x:1.0 -> 2.0'
            !sorted[2].description
    
            sorted[3].name == 'b:a:5.0'
            sorted[3].description == 'forced'
    
            sorted[4].name == 'b:a:5.0'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 04:22:29 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/strict/StrictVersionsInPlatformCentricDevelopmentIntegrationTest.groovy

        }
    
        void "(4) library developer has issues with org:foo:3.1.1 and forces an override of the platform decision with strictly [#platformType]"() {
            // issue with enforced platform: consumer can not override platform decision via constraint
            //                               (an override via an own forced dependency is possible)
            def expectedFooVersion = platformType == ENFORCED_PLATFORM ? '3.1.1' : '3.2'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/DependencyResolveRulesIntegrationTest.groovy

                        selectedByRule()
                        forced()
                        module("org.utils:api:1.3") {
                            selectedByRule()
                            forced()
                        }
                    }
                }
            }
        }
    
        void "rule are applied after forced modules"()
        {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/SelectorState.java

        public void update(DependencyState dependencyState) {
            if (dependencyState != this.dependencyState) {
                if (!forced && dependencyState.isForced()) {
                    forced = true;
                    if (dependencyState.getDependency() instanceof LenientPlatformDependencyMetadata) {
                        softForced = true;
                        targetModule.resolveOptimizations.declareForcedPlatformInUse();
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ResolutionStrategy.java

     *     preferProjectModules()
     *
     *     // force certain versions of dependencies (including transitive)
     *     //  *append new forced modules:
     *     force 'asm:asm-all:3.3.1', 'commons-io:commons-io:1.4'
     *     //  *replace existing forced modules with new ones:
     *     forcedModules = ['asm:asm-all:3.3.1']
     *
     *     // add dependency substitution rules
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 17 13:05:50 UTC 2022
    - 16K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/LockingInteractionsIntegrationTest.groovy

        }
    }
    """
    
            when:
            fails 'resolve'
    
            then:
            failureHasCause("Did not resolve 'org:test:1.1' which has been forced / substituted to a different version: '1.0'")
        }
    
        def "fails when a substitute overwrites a locked version"() {
            given:
            mavenRepo.module('org', 'test', '1.0').publish()
            mavenRepo.module('org', 'test', '1.1').publish()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonStateCoordinator.java

                                return DaemonStopState.Forced;
                        }
                    } catch (InterruptedException e) {
                        throw UncheckedException.throwAsUncheckedException(e);
                    }
                }
                LOGGER.debug("Cancel: daemon is still busy after grace period. Will force stop.");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top