- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 73 for jdk1 (0.05 sec)
-
platforms/jvm/jvm-services/src/integTest/groovy/org/gradle/jvm/toolchain/JavaInstallationRegistryIntegrationTest.groovy
""" when: result = executer .withEnvironmentVars([JDK1: new File("/unknown/env").absolutePath, JDK2: firstJavaHome]) .withArgument("-Porg.gradle.java.installations.paths=${new File("/unknown/path").absolutePath}," + secondJavaHome) .withArgument("-Porg.gradle.java.installations.fromEnv=JDK1,JDK2") .withArgument("--info") .withTasks("show") .run()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 18:29:03 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocToolchainIntegrationTest.groovy
when: withInstallations(jdk1, jdk2).run(":javadoc") then: executedAndNotSkipped(":javadoc") file("build/docs/javadoc/Lib.html").text.contains("Some API documentation.") when: withInstallations(jdk1, jdk2).run(":javadoc") then: skipped(":javadoc") when: executer.withArgument("-Ptest.javadoc.version=${jdk2.javaVersion.majorVersion}")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 8.2K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/AutoInstalledInstallationSupplierTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 23:01:05 UTC 2024 - 4.7K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/OsXInstallationSupplierTest.groovy
def jdk7 = new File("/Library/Java/JavaVirtualMachines/jdk1.7.0_17.jdk/Contents/Home") def jdk8 = new File("/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home") def jdk9 = new File("/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home") osxJavaHomeCommand.findJavaHomes() >> [jdk7, jdk8, jdk9] when: def directories = supplier.get()
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/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/DefaultOsXJavaHomeCommandTest.groovy
new File("/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home"), new File("/Library/Java/JavaVirtualMachines/jdk1.7.0_17.jdk/Contents/Home"), new File("/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home"), new File("/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home"), ])
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 10 18:03:55 UTC 2024 - 4.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/jvm/JavaToolchainFixture.groovy
} /** * Usage: * <pre> * def jdk1 = AvailableJavaHomes.getJvmInstallationMetadata(Jvm.current()) * def jdk2 = AvailableJavaHomes.getJvmInstallationMetadata(AvailableJavaHomes.getDifferentVersion(jdk1.languageVersion)) * * when: * withInstallations(jdk1, jdk2).run(":task") * </pre> */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 10:21:26 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/CachingJvmMetadataDetectorTest.groovy
metadata2.errorMessage.contains("No such directory") } def "invalidation takes predicate into account"() { def location1 = testLocation("jdk1") def location2 = testLocation("jdk2") def metadata1 = Mock(JvmInstallationMetadata) def metadata2 = Mock(JvmInstallationMetadata) def delegate = Mock(JvmMetadataDetector) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 18:25:34 UTC 2024 - 4.2K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/integTest/groovy/org/gradle/jvm/toolchain/InvalidJvmInstallationReportingIntegrationTest.groovy
// (as opposed to e.g. reporting only the first one) def invalidJdkHome1 = createInvalidJdkHome("jdk1") def invalidJdkHome2 = createInvalidJdkHome("jdk2") // The builds should trigger toolchains discovery; here it's done from different subprojects in order to test // that the JVM installation detection is cached during a build def configureJavaExecToUseToolchains =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 4.6K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/WindowsInstallationSupplierTest.groovy
def supplier = createSupplier() when: def locations = supplier.get() then: locations*.location.path.containsAll("c:\\jdk8", "d:\\jdk9", "c:\\jdk17", "d:\\jdk11", "c:\\jdk15", "d:\\jdk16") locations*.source == ["Windows Registry"] * 6 } def "handles absent adoptopenjdk keys"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 22:14:10 UTC 2024 - 5.2K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/idea/model/Jdk.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 3.5K bytes - Viewed (0)