- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 81 for JavaLanguageVersion (0.23 sec)
-
platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/JavaLanguageVersion.java
/** * Represents a Java Language version * * @since 6.7 */ public interface JavaLanguageVersion extends Comparable<JavaLanguageVersion> { static JavaLanguageVersion of(int version) { return DefaultJavaLanguageVersion.of(version); } static JavaLanguageVersion of(String version) { return of(Integer.parseInt(version)); } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:16:16 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm-shared/src/test/groovy/org/gradle/jvm/toolchain/internal/DefaultToolchainSpecTest.groovy
def spec11Impl2 = createSpec() when: spec11.languageVersion.set(JavaLanguageVersion.of(11)) spec12.languageVersion.set(JavaLanguageVersion.of(12)) spec11Vendor1.languageVersion.set(JavaLanguageVersion.of(11)) spec11Vendor1.vendor.set(JvmVendorSpec.AMAZON) spec11Vendor2.languageVersion.set(JavaLanguageVersion.of(11)) spec11Vendor2.vendor.set(JvmVendorSpec.matching("foo"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 10 18:03:55 UTC 2024 - 2.7K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/DefaultJavaLanguageVersion.java
import org.gradle.jvm.toolchain.JavaLanguageVersion; import java.io.Serializable; public class DefaultJavaLanguageVersion implements JavaLanguageVersion, Serializable { static final int LOWER_CACHED_VERSION = 4; static final int HIGHER_CACHED_VERSION = 19; static final JavaLanguageVersion[] KNOWN_VERSIONS; static { KNOWN_VERSIONS = new JavaLanguageVersion[HIGHER_CACHED_VERSION - LOWER_CACHED_VERSION + 1];
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:16:16 UTC 2024 - 3K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/toolchain/DaemonJvmCriteria.java
import org.gradle.jvm.toolchain.JavaLanguageVersion; import org.gradle.jvm.toolchain.JvmImplementation; import org.gradle.jvm.toolchain.JvmVendorSpec; public class DaemonJvmCriteria { private final JavaLanguageVersion javaVersion; private final JvmVendorSpec vendorSpec; private final JvmImplementation jvmImplementation;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:16:16 UTC 2024 - 2.2K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/DefaultJavaCompileSpecFactory.java
private final File javaHome; private final int javaLanguageVersion; private DefaultForkingJavaCompileSpec(File javaHome, int javaLanguageVersion) { this.javaHome = javaHome; this.javaLanguageVersion = javaLanguageVersion; } @Override public File getJavaHome() { return javaHome; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 13:00:39 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/jvm/language-groovy/src/main/java/org/gradle/api/internal/tasks/compile/DefaultGroovyJavaJointCompileSpecFactory.java
private final File javaHome; private final int javaLanguageVersion; private DefaultForkingGroovyJavaJointCompileSpec(File javaHome, int javaLanguageVersion) { this.javaHome = javaHome; this.javaLanguageVersion = javaLanguageVersion; } @Override public File getJavaHome() { return javaHome; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 13:00:39 UTC 2024 - 2.7K bytes - Viewed (0) -
platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/DefaultJavaCompilerFactoryTest.groovy
private final File javaHome; private final int javaLanguageVersion; private TestForkingJavaCompileSpec(File javaHome, int javaLanguageVersion) { this.javaHome = javaHome this.javaLanguageVersion = javaLanguageVersion } @Override File getJavaHome() { return javaHome }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 13:00:39 UTC 2024 - 3.9K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/jvm/toolchain/internal/JavaToolchainQueryServiceTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 22:46:10 UTC 2024 - 19K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/toolchain/DaemonJavaToolchainQueryServiceTest.groovy
import org.gradle.internal.jvm.inspection.JvmToolchainMetadata import org.gradle.internal.jvm.inspection.JvmVendor import org.gradle.internal.os.OperatingSystem import org.gradle.jvm.toolchain.JavaLanguageVersion import org.gradle.jvm.toolchain.JvmImplementation import org.gradle.jvm.toolchain.JvmVendorSpec import org.gradle.jvm.toolchain.internal.DefaultJvmVendorSpec import org.gradle.jvm.toolchain.internal.InstallationLocation
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 00:09:57 UTC 2024 - 9.9K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/configuration/DaemonParametersTest.groovy
parameters.applyDefaultsFor(JavaLanguageVersion.of(8)) then: parameters.effectiveJvmArgs.containsAll(["-Xmx17m"]) parameters.effectiveJvmArgs.intersect(parameters.DEFAULT_JVM_ARGS).empty } def "can apply defaults for Java 7 and earlier"() { when: parameters.applyDefaultsFor(JavaLanguageVersion.of(7)) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 00:09:57 UTC 2024 - 5.7K bytes - Viewed (0)