- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for CurrentJVM (0.09 sec)
-
subprojects/diagnostics/src/testFixtures/groovy/org/gradle/api/reporting/components/AbstractComponentReportIntegrationTest.groovy
InternalTransformer<String, String> formatter = new ComponentReportOutputFormatter() JavaVersion currentJvm = JavaVersion.current() String currentJavaName = "java" + currentJvm.majorVersion String currentJava = "Java SE " + currentJvm.majorVersion String currentJdk = String.format("JDK %s (%s)", currentJvm.majorVersion, currentJvm); def setup() { settingsFile << "rootProject.name = 'test'" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 15 23:29:03 UTC 2022 - 2.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinDslJvmTargetIntegrationTest.kt
fun `can use Java Toolchain to compile precompiled scripts`() { val currentJvm = Jvm.current() assumeNotNull(currentJvm) val newerJvm = AvailableJavaHomes.getDifferentVersion { it.languageVersion > currentJvm.javaVersion } assumeNotNull(newerJvm) val installationPaths = listOf(currentJvm!!, newerJvm!!) .joinToString(",") { it.javaHome.absolutePath }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 08:31:21 UTC 2024 - 9.5K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/jvm/toolchain/internal/JavaToolchainQueryServiceTest.groovy
toolchain.get().getInstallationPath().toString() == currentJvm.location.absolutePath } def "returns fallback toolchain if filter is not configured"() { given: def currentJvm = locationFor("17") def queryService = setupInstallations(versionRange(8, 19), currentJvm) when: def filter = createSpec()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 22:46:10 UTC 2024 - 19K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/CurrentJvmToolchainSpec.java
// disallow changing property values finalizeProperties(); } @Override public String getDisplayName() { return "CurrentJVM " + super.getDisplayName(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 18:07:00 UTC 2024 - 1.2K bytes - Viewed (0) -
platforms/core-runtime/build-configuration/src/integTest/groovy/org/gradle/interal/buildconfiguration/tasks/UpdateDaemonJvmIntegrationTest.groovy
@NotYetImplemented def "Given defined invalid criteria When execute updateDaemonJvm with different criteria Then criteria get modified using java home"() { def currentJvm = JavaVersion.current() given: writeJvmCriteria(currentJvm, "invalidVendor") expect: succeeds("updateDaemonJvm", "--jvm-version=20", "--toolchain-vendor=AZUL") assertJvmCriteria(JavaVersion.VERSION_20, "AZUL")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 25 13:41:21 UTC 2024 - 8.5K bytes - Viewed (0)