- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for listInstallations (0.31 sec)
-
platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/internal/jvm/inspection/DefaultJavaInstallationRegistryTest.groovy
def registry = createRegistry([jdk8]) def installations = registry.listInstallations() def installations2 = registry.listInstallations() then: installations.is(installations2) } def "normalize installations to account for macOS folder layout"() { given: def jdkHome = temporaryFolder.createDir("jdk") def macOsJdkHome = jdkHome.createDir("Contents/Home")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 22:46:10 UTC 2024 - 9.6K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/integTest/groovy/org/gradle/jvm/toolchain/JavaInstallationRegistryIntegrationTest.groovy
abstract JavaInstallationRegistry getRegistry() void apply(Project project) { project.tasks.register("show") { def installations = registry.listInstallations() assert installations.size() == 1 assert installations[0].location == org.gradle.internal.jvm.Jvm.current().javaHome } } }
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/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/DefaultJavaInstallationRegistry.java
protected Set<InstallationLocation> listInstallations() { return installations.get(); } @Override public List<JvmToolchainMetadata> toolchains() { ProgressLogger progressLogger = progressLoggerFactory.newOperation(JavaInstallationRegistry.class).start("Discovering toolchains", "Discovering toolchains"); List<JvmToolchainMetadata> result = listInstallations() .parallelStream()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 22:46:10 UTC 2024 - 12K bytes - Viewed (0)