Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 50 for isCompatibleWith (0.28 sec)

  1. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/AntWorkerMemoryLeakIntegrationTest.groovy

        private static Set<String> groovyVersions() {
            // Codenarc is not compatible with earlier Groovy versions
            VersionNumber lowerBound = VersionNumber.parse('1.8.8')
    
            if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_11)) {
                // Codenarc is not compatible with earlier Groovy versions on JDK11+
                lowerBound = VersionNumber.parse('2.1.9')
            }
    
            return [ LOCAL_GROOVY ] +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/AbstractHttpsRepoResolveIntegrationTest.groovy

            // depending on JVM version, the error might occur either during SSL context initialization or during request
            if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_18)) {
                failure.assertHasCause("Got SSL handshake exception during request. It might be caused by SSL misconfiguration")
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/ApplyPluginIntegSpec.groovy

                public AddOpensArgProvider(Test test) {
                    this.test = test;
                }
                @Override
                Iterable<String> asArguments() {
                    return test.javaVersion.isCompatibleWith(JavaVersion.VERSION_1_9)
                        ? ["--add-opens=java.base/java.lang=ALL-UNNAMED"]
                        : []
                }
            }
            tasks.withType(Test).configureEach {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/process/internal/DefaultExecActionFactory.java

            public JavaForkOptions copyTo(JavaForkOptions options) {
                return delegate.copyTo(options);
            }
    
            @Override
            public boolean isCompatibleWith(JavaForkOptions options) {
                return delegate.isCompatibleWith(options);
            }
    
            @Override
            public void setExtraJvmArgs(Iterable<?> jvmArgs) {
                throw new UnsupportedOperationException();
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 10 06:16:11 UTC 2023
    - 24K bytes
    - Viewed (0)
  5. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/MavenConversionDynamicPomIntegrationTest.groovy

            // if the source and target are different, we can't actually compile because javac requires them to be the same
            failure.assertHasDescription("Execution failed for task ':compileJava'.")
            if (source.isCompatibleWith(JavaVersion.VERSION_22)) {
                failure.assertHasCause("error: specified target release 1.8 is too old for the specified source release 22")
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/process/internal/DefaultJavaForkOptions.java

                    target.jvmArgs(jvmArgumentProvider.asArguments());
                }
            }
            return this;
        }
    
        @Override
        public boolean isCompatibleWith(JavaForkOptions options) {
            if (hasJvmArgumentProviders(this) || hasJvmArgumentProviders(options)) {
                throw new UnsupportedOperationException("Cannot compare options with jvmArgumentProviders.");
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonClientsManager.java

                    if (candidate.isFailed()) {
                        emitUnexpectedWorkerFailureWarning(candidate);
                        it.remove();
                    } else {
                        if (candidate.isCompatibleWith(forkOptions)) {
                            it.remove();
                            if (candidate.getLogLevel() != currentLogLevel) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:54:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/codenarc/CodeNarcPluginVersionIntegrationTest.groovy

                }
    
                dependencies {
                    implementation localGroovy()
                }
    
                testing.suites.test.useJUnit()
    
                ${JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_14) ?
                """
                configurations.codenarc {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ReproducibleArchivesIntegrationTest.groovy

            // Reason for different gzip checksum on JDK16: https://jdk.java.net/16/release-notes#JDK-8244706
            where:
            compression | md5
            'gzip'      | (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_16) ? '022ce6c9bfb4705481fafdbe0d3c0334' : '7b86e679a3c6cda52736e1f167cc04f5')
            'bzip2'     | '54615d3194655da3f7f72c8859f66fa5'
        }
    
        def "#taskName preserves order of child specs"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 02 14:30:00 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. platforms/documentation/docs/build.gradle

            }
    
            if (javaVersion.isCompatibleWith(JavaVersion.VERSION_12)) {
                excludeTestsMatching "org.gradle.docs.samples.*.snippet-test-kit-gradle-version_*_testKitFunctionalTestSpockGradleDistribution.sample"
            }
    
            if (javaVersion.isCompatibleWith(JavaVersion.VERSION_22)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 15:37:11 UTC 2024
    - 42K bytes
    - Viewed (0)
Back to top