Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for rejectAll (0.24 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. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/polyglot/VersionSpec.groovy

    import groovy.transform.CompileStatic
    
    @CompileStatic
    class VersionSpec extends MultiSectionHandler {
    
        @Override
        String getSectionName() {
            "version"
        }
    
        void rejectAll() {
            sections << new SimpleSection("rejectAll()")
        }
    
        void prefer(String version) {
            sections << new GenericSection({
                "prefer '$version'"
            },{
                "prefer(\"$version\")"
            })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. 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)
  4. subprojects/core/src/test/resources/org/gradle/api/internal/catalog/parser/plugin-notations.toml

    with-rich2 = { id = "org.example", version.prefer = "1.0" }
    with-rich3 = { id = "org.example", version.require = "1.0" }
    with-rich4 = { id = "org.example", version.strictly = "1.0" }
    with-rich5 = { id = "org.example", version = { rejectAll = true } }
    with-rich6 = { id = "org.example", version = { require = "1.0", reject = ["1.1", "1.2"] } }
    
    indirect.id = "org.example"
    indirect.version = "1.5"
    
    [versions]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 05:41:21 UTC 2024
    - 668 bytes
    - Viewed (0)
  5. 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)
  6. 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)
  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. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/DependencyInsightReportTaskIntegrationTest.groovy

                              reject '1.0', '1.1', '1.2'
                           }
                        }
                        implementation('org:bar') {
                           version {
                              rejectAll()
                           }
                           because "Nope, you won't use this"
                        }
                    }
                    implementation 'org:foo:[1.0,)'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 15:15:56 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        @Override
        public int hashCode() {
          return 0;
        }
      }
    
      static class GoodNulls {
        public GoodNulls(String s) {
          checkNotNull(s);
        }
    
        public void rejectNull(String s) {
          checkNotNull(s);
        }
      }
    
      public static class BadNulls {
        public void failsToRejectNull(@SuppressWarnings("unused") String s) {}
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 36.2K bytes
    - Viewed (0)
Back to top