- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for WindowsRegistry (0.35 sec)
-
platforms/jvm/jvm-services/src/main/java/org/gradle/jvm/toolchain/internal/WindowsInstallationSupplier.java
import java.util.stream.Stream; public class WindowsInstallationSupplier implements InstallationSupplier { private final WindowsRegistry windowsRegistry; private final OperatingSystem os; public WindowsInstallationSupplier(WindowsRegistry registry, OperatingSystem os) { this.windowsRegistry = registry; this.os = os; } @Override public String getSourceName() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 22:14:10 UTC 2024 - 3.6K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/WindowsInstallationSupplierTest.groovy
given: registry.getSubkeys(WindowsRegistry.Key.HKEY_LOCAL_MACHINE, "SOFTWARE\\AdoptOpenJDK\\JDK") >> [ "8.0", "9.0-abc" ] registry.getStringValue(WindowsRegistry.Key.HKEY_LOCAL_MACHINE, "SOFTWARE\\AdoptOpenJDK\\JDK\\8.0\\hotspot\\MSI", "Path") >> "c:\\jdk8"
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/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/services/NativeBinaryServices.java
return new DefaultWindowsSdkLocator(os, windowsRegistry, systemInfo); } @Provides VisualCppMetadataProvider createVisualCppMetadataProvider(WindowsRegistry windowsRegistry) { return new DefaultVisualCppMetadataProvider(windowsRegistry); } @Provides
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 7.5K bytes - Viewed (0) -
platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/services/NativeServicesTest.groovy
@Requires(UnitTestPreconditions.NotWindows) def "try using a WindowsRegistry on a non-Windows OS"() { def service = services.get(WindowsRegistry) when: service.getSubkeys(WindowsRegistry.Key.HKEY_LOCAL_MACHINE, "SOFTWARE\\AdoptOpenJDK\\JDK") then: def e = thrown(NativeIntegrationUnavailableException) e.message == "Service 'WindowsRegistry' is not available (os=${OperatingSystem.current()}, enabled=true)."
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 10 01:29:49 UTC 2024 - 3.2K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AvailableJavaHomes.java
} return jvms; } private static List<InstallationSupplier> defaultInstallationSuppliers(ToolchainConfiguration toolchainConfiguration) { WindowsRegistry windowsRegistry = NativeServicesTestFixture.getInstance().get(WindowsRegistry.class); return Lists.newArrayList( new AsdfInstallationSupplier(toolchainConfiguration),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 06:42:07 UTC 2024 - 16.6K bytes - Viewed (0) -
platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/services/NativeServices.java
return new FallbackConsoleDetector(); } @Provides protected WindowsRegistry createWindowsRegistry(OperatingSystem operatingSystem) { if (useNativeIntegrations && operatingSystem.isWindows()) { return net.rubygrapefruit.platform.Native.get(WindowsRegistry.class); } return notAvailable(WindowsRegistry.class, operatingSystem); } @Provides
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:39 UTC 2024 - 23.9K bytes - Viewed (0)