Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for rejectAll (0.3 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/catalog/parser/TomlCatalogFileParser.java

            }
            if (rejectedVersions != null) {
                v.reject(rejectedVersions.toArray(new String[0]));
            }
            if (rejectAll != null && rejectAll) {
                v.rejectAll();
            }
        }
    
        private static void registerPlugin(
            VersionCatalogBuilder builder,
            String alias,
            String id,
            @Nullable String versionRef,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:05 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/catalog/parser/TomlCatalogFileParserTest.groovy

                    strictly '1.0'
                }
            }
            hasDependency('simple-with-rich5') {
                withGroup 'foo'
                withName 'bar'
                withVersion {
                    rejectAll()
                }
            }
            hasDependency('simple-with-rich6') {
                withGroup 'foo'
                withName 'bar'
                withVersion {
                    require '1.0'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 05:41:21 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. subprojects/distributions-dependencies/build.gradle.kts

            api(libs.servletApi)            { version { strictly("3.1.0") }}
            api(libs.slf4jApi)              { version { strictly(slf4jVersion) }}
            api(libs.slf4jSimple)           { version { rejectAll(); because("We only need the logging API, we supply our own binding, which cause duplicate binding on class path error") }}
            api(libs.snakeyaml)             { version { strictly("2.0") }}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 19:54:08 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/versions/AbstractRichVersionConstraintsIntegrationTest.groovy

        }
    
        def "adding rejectAll on a dependency is pointless and make it fail"() {
            given:
            repository {
                'org:foo' {
                    '1.0'()
                }
            }
    
            buildFile << """
                dependencies {
                    conf('org:foo:1.0') {
                       version {
                          rejectAll()
                       }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 15:37:32 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolutionResultApiIntegrationTest.groovy

                dependencies {
                    conf "org:foo:1.0"
    
                    constraints {
                        conf("org:foo:1.0") {
                            version {
                                rejectAll()
                            }
                            if ($useReason) { because("This reason comes from a constraint") }
                        }
                    }
                }
    
                configurations.all {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 30.5K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/constraints/DependencyConstraintsIntegrationTest.groovy

                rootProject {
                    dependencies {
                        conf 'org:bar:1.0'
                        constraints {
                            conf('org:foo') {
                                version { rejectAll() }
                            }
                        }
                    }
                }
            }
    
            when:
            fails 'checkDeps'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 28.8K bytes
    - Viewed (0)
  7. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publication/MavenComponentParser.java

                    dependencyFactory.convertDependencyConstraint(dependency, constraints::add);
                } else {
                    // Some dependency constraints, like those with rejectAll() have no version and do not map to Maven.
                    warnings.addIncompatible(String.format("constraint %s:%s declared with a Maven incompatible version notation", dependency.getGroup(), dependency.getName()));
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 27 18:52:27 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  8. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/AbstractMavenPublishJavaIntegTest.groovy

                dependencies {
                    constraints {
                        api("commons-logging:commons-logging") {
                            version {
                                rejectAll()
                            }
                        }
                    }
                    implementation("commons-collections:commons-collections:[3.2, 4)") {
                        version {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 45.6K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/dep-man/03-controlling-transitive-dependencies/platforms.adoc

    - `prefer`: the <<rich_versions.adoc#sec:preferred-version,preferred version>>
    - `reject`: the list of <<rich_versions.adoc#sec:rejected-version,rejected versions>>
    - `rejectAll`: a boolean to reject all <<rich_versions.adoc#sec:rejected-version,versions>>
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 18:33:11 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/resolve/scenarios/VersionRangeResolveTestScenarios.groovy

        public static final REJECT_13 = reject("13")
        public static final REJECT_10_11 = reject("[10,11]")
        public static final REJECT_9_14 = reject("[9,14]")
        public static final REJECT_ALL = reject("+")
        public static final REJECT_10_OR_HIGHER = reject("[10,)")
    
        public static final StrictPermutationsProvider SCENARIOS_SINGLE = StrictPermutationsProvider.check(
            versions: [FIXED_12],
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 27.8K bytes
    - Viewed (0)
Back to top