Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for isCompatibleWith (0.19 sec)

  1. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonExpirationTest.groovy

            startDaemon(_) >> { DaemonForkOptions forkOptions ->
                Mock(WorkerDaemonClient) {
                    getForkOptions() >> forkOptions
                    isCompatibleWith(_) >> { DaemonForkOptions otherForkOptions ->
                        forkOptions.isCompatibleWith(otherForkOptions)
                    }
                    getJvmMemoryStatus() >> Mock(JvmMemoryStatus) {
                        getCommittedMemory() >> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:56:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/invocation/GradleLifecycleUnsupportedTypesIntegrationTest.groovy

            concreteTypeName = concreteType instanceof Class ? concreteType.name : concreteType
        }
    
        private static executorServiceTypeOnCurrentJvm() {
            def shortName = Jvm.current().javaVersion.isCompatibleWith(JavaVersion.VERSION_21) ? 'AutoShutdownDelegatedExecutorService' : 'FinalizableDelegatedExecutorService'
            return 'java.util.concurrent.Executors$' + shortName
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:15:52 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/internal-instrumentation-processor/src/test/groovy/org/gradle/internal/instrumentation/InstrumentationCodeGenTest.groovy

        }
    
        private static com.google.testing.compile.Compiler getCompiler() {
            assumeTrue("Java 20+ do not support --release=8", Jvm.current().javaVersion < JavaVersion.VERSION_20)
            if (Jvm.current().javaVersion.isCompatibleWith(JavaVersion.VERSION_1_9)) {
                return javac().withOptions(COMPILE_OPTIONS + "--release=8")
            }
            return javac().withOptions(COMPILE_OPTIONS)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/context/DaemonCompatibilitySpec.java

        }
    
        private boolean jvmCompatible(DaemonContext potentialContext) {
            if (desiredContext.getJvmCriteria() != null) {
                return desiredContext.getJvmCriteria().isCompatibleWith(potentialContext.getJavaVersion());
            } else {
                try {
                    File potentialJavaHome = potentialContext.getJavaHome();
                    JavaInfo desiredJavaHome = desiredContext.getJavaHome();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 28 21:41:57 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/GrettySmokeTest.groovy

            ]
        }
    
        static def grettyConfigForCurrentJavaVersion() {
            TestedVersions.gretty.findAll {
                JavaVersion.current().isCompatibleWith(it.javaMinVersion as JavaVersion) &&
                    (it.javaMaxVersion == null || JavaVersion.current() <= JavaVersion.toVersion(it.javaMaxVersion))
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 04:11:37 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. platforms/jvm/jacoco/src/testFixtures/groovy/org/gradle/testing/jacoco/plugins/fixtures/JacocoCoverage.groovy

            (JavaVersion.VERSION_1_9): JacocoVersion.SUPPORTS_JDK_9,
        ]
    
        static List<String> getSupportedVersionsByJdk() {
            for (def cutoff : JDK_CUTOFFS) {
                if (JavaVersion.current().isCompatibleWith(cutoff.key)) {
                    return filter(cutoff.value)
                }
            }
            return filter(JacocoVersion.SUPPORTS_JDK_8)
        }
    
        private static List<String> filter(JacocoVersion threshold) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:50:44 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top