Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for isCompatibleWith (0.3 sec)

  1. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/api/JavaVersion.java

        public boolean isJava5Compatible() {
            return isCompatibleWith(VERSION_1_5);
        }
    
        public boolean isJava6Compatible() {
            return isCompatibleWith(VERSION_1_6);
        }
    
        public boolean isJava7Compatible() {
            return isCompatibleWith(VERSION_1_7);
        }
    
        public boolean isJava8Compatible() {
            return isCompatibleWith(VERSION_1_8);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. platforms/jvm/scala/src/integTest/groovy/org/gradle/integtests/fixtures/ScalaCoverage.groovy

                return VersionCoverage.versionsAtLeast(SCALA_3, "3.3.4")
            }
            if (javaVersion.isCompatibleWith(JavaVersion.VERSION_20)) {
                return VersionCoverage.versionsAtLeast(SCALA_3, "3.3.0")
            }
            if (javaVersion.isCompatibleWith(JavaVersion.VERSION_19)) {
                return VersionCoverage.versionsAtLeast(SCALA_3, "3.2.2")
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/toolchain/DaemonJvmCriteria.java

        public JvmImplementation getJvmImplementation() {
            return jvmImplementation;
        }
    
        public boolean isCompatibleWith(Jvm other) {
            Integer javaVersionMajor = other.getJavaVersionMajor();
            if (javaVersionMajor == null) {
                return false;
            }
            return isCompatibleWith(JavaLanguageVersion.of(javaVersionMajor));
        }
    
        @Override
        public String toString() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:16:16 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. platforms/jvm/language-groovy/src/testFixtures/groovy/org/gradle/testing/fixture/GroovyCoverage.groovy

            }
    
            allVersions.addAll(FUTURE)
    
            if (javaVersion.isCompatibleWith(JavaVersion.VERSION_22)) {
                return VersionCoverage.versionsAbove(allVersions, '3.0.20')
            } else if (javaVersion.isCompatibleWith(JavaVersion.VERSION_20)) {
                return VersionCoverage.versionsAbove(allVersions, '3.0.13')
            } else if (javaVersion.isCompatibleWith(JavaVersion.VERSION_15)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonClient.java

            uses++;
            return workerClient.run(actionExecutionSpecFactory.newTransportableSpec(spec));
        }
    
        public boolean isCompatibleWith(DaemonForkOptions required) {
            return forkOptions.isCompatibleWith(required);
        }
    
        JvmMemoryStatus getJvmMemoryStatus() {
            return workerProcess.getJvmMemoryStatus();
        }
    
        @Override
        public void stop() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:54:37 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/testFixtures/groovy/org/gradle/testing/fixture/MultiJvmTestCompatibility.groovy

         * Check that the console is correct for a test worker. On Java 22, the console exists but is not a terminal. On earlier versions, the console does not exist.
         */
        static final String CONSOLE_CHECK = JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_22)
            ? "assertFalse(System.console().isTerminal());"
            : "assertNull(System.console());"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. platforms/extensibility/unit-test-fixtures/src/integTest/groovy/org/gradle/testfixtures/ProjectBuilderEndUserIntegrationTest.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: Mon May 13 21:54:27 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top