- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 26 for rejectAll (0.18 sec)
-
platforms/software/plugins-version-catalog/src/integTest/resources/org/gradle/api/plugins/catalog/internal/dependencies-notations.toml
simple-with-rich3 = { group = "foo", name = "bar", version.require = "1.0" } simple-with-rich4 = { group = "foo", name = "bar", version.strictly = "1.0" } simple-with-rich5 = { group = "foo", name = "bar", version = { rejectAll = true } } simple-with-rich6 = { group = "foo", name = "bar", version = { require = "1.0", reject = ["1.1", "1.2"] } } shortcut = "g:a:1.0!!" indirect.module = "g:b" indirect.version = "1.2"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 16 12:28:14 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dependencies/DefaultResolvedVersionConstraintTest.groovy
then: e.preferredSelector == null e.requiredSelector.selector == strictVersion e.rejectedSelector instanceof InverseVersionSelector e.rejectedSelector.selector == complement !e.rejectAll where: strictVersion | complement '1.0' | '!(1.0)' '[1.0, 2.0]' | '!([1.0, 2.0])' '[1.0, 2.0)' | '!([1.0, 2.0))' '(, 2.0)' | '!((, 2.0))'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.2K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/artifacts/MutableVersionConstraint.java
/** * Rejects all versions of this component. Can be used to make sure that if such a component is seen in a * dependency graph, resolution fails. * * @since 4.5 */ void rejectAll();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jul 30 23:02:48 UTC 2021 - 3.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dependencies/DefaultMutableVersionConstraint.java
} @Override public void reject(String... versions) { this.rejectedVersions.clear(); Collections.addAll(rejectedVersions, versions); } @Override public void rejectAll() { updateVersions(null, null, null); this.rejectedVersions.add("+"); } @Override public List<String> getRejectedVersions() { return rejectedVersions; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 12:20:28 UTC 2024 - 6K bytes - Viewed (0) -
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) -
platforms/software/plugins-version-catalog/src/main/java/org/gradle/api/plugins/catalog/internal/TomlWriter.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 7.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/versions/AbstractRichVersionConstraintsIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 23 15:37:32 UTC 2024 - 30.9K bytes - Viewed (0) -
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) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/constraints/DependencyConstraintsIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 28.8K bytes - Viewed (0) -
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)