- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 406 for JavaVersion (0.24 sec)
-
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.kotlin-shared-runtime.gradle.kts
id("gradlebuild.ktlint") id("gradlebuild.test-retry") id("gradlebuild.ci-reporting") } java { configureJavaToolChain() sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } kotlin { compilerOptions { allWarningsAsErrors = true jvmTarget.set(JvmTarget.JVM_1_8) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 03 15:32:00 UTC 2023 - 652 bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/jvm/Jvm.java
*/ @Nullable public File getStandaloneJre() { JavaVersion javaVersion = getJavaVersion(); if (javaVersion != null && javaVersion.isJava9Compatible()) { return null; } if (os.isWindows()) { File jreDir; if (javaVersionMajor == 5) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:57:34 UTC 2024 - 13.2K bytes - Viewed (0) -
platforms/core-runtime/build-configuration/src/testFixtures/groovy/org/gradle/internal/buildconfiguration/fixture/DaemonJvmPropertiesFixture.groovy
} void writeJvmCriteria(Jvm jvm) { def otherMetadata = AvailableJavaHomes.getJvmInstallationMetadata(jvm) writeJvmCriteria(jvm.javaVersion, otherMetadata.vendor.knownVendor.name()) } void writeJvmCriteria(JavaVersion version, String vendor = null, String implementation = null) { Properties properties = new Properties()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 25 13:41:21 UTC 2024 - 2.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/options/OptionValueNotationParserFactory.java
return Cast.uncheckedCast(new NoDescriptionValuesJustReturningParser()); } else if (targetType.isAssignableFrom(JavaVersion.class)) { NotationConverter<CharSequence, JavaVersion> converter = new JavaVersionFromCharSequenceNotationConverter(); return Cast.uncheckedCast(new NotationConverterToNotationParserAdapter<>(converter));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 15:43:28 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonToolchainIntegrationTest.groovy
given: // Java 10 is not available def java10 = AvailableJavaHomes.getAvailableJdks(JavaVersion.VERSION_1_10) Assume.assumeTrue(java10.isEmpty()) writeJvmCriteria(JavaVersion.VERSION_1_10) captureJavaHome() expect: fails("help") failure.assertHasDescription("Cannot find a Java installation on your machine")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 25 13:41:21 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/ToolingApiUnsupportedBuildJvmCrossVersionSpec.groovy
e.message.startsWith("Could not execute build using ") e.cause.message == "Gradle ${targetDist.version.version} requires Java 8 or later to run. Your build is currently configured to use Java ${jdk.javaVersion.majorVersion}." where: jdk << AvailableJavaHomes.getJdks("1.5", "1.6", "1.7") } def "cannot fetch model when build is configured to use Java 7 or earlier"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/core-runtime/wrapper-main/src/crossVersionTest/groovy/org/gradle/integtests/wrapper/WrapperOldJavaCrossVersionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:54:32 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/UnsupportedJavaVersionCrossCompilationIntegrationTest.groovy
import org.junit.Assume @TargetVersions(["1.5"]) class UnsupportedJavaVersionCrossCompilationIntegrationTest extends MultiVersionIntegrationSpec { JavaVersion getJavaVersion() { JavaVersion.toVersion(version) } JavaInfo getTarget() { return AvailableJavaHomes.getJdk(javaVersion) } def setup() { Assume.assumeTrue(target != null) def java = TextUtil.escapeString(target.getJavaExecutable())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 12:15:28 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm-shared/src/test/groovy/org/gradle/jvm/toolchain/internal/JavaToolchainTest.groovy
class JavaToolchainTest extends Specification { def "java version is reported as specified in metadata"() { given: def javaHome = new File("/jvm/$javaVersion").absoluteFile def metadata = JvmInstallationMetadata.from(javaHome, javaVersion, "vendor", "runtimeName", runtimeVersion, "jvmName", jvmVersion, "jvmVendor", "archName") when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 01 16:57:19 UTC 2024 - 3K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/testFixtures/groovy/org/gradle/testing/fixture/MultiJvmTestCompatibility.groovy
*/ 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)