Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 192 for installations (0.17 sec)

  1. platforms/documentation/docs/src/docs/userguide/jvm/toolchains.adoc

    ----
    org.gradle.java.installations.fromEnv=JDK8,JRE17
    ----
    
    Additionally, you can provide a comma-separated list of paths to specific installations using the `org.gradle.java.installations.paths` property.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 05:37:54 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  2. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/MavenToolchainsInstallationSupplierTest.groovy

        ProviderFactory createProviderFactory(String propertyValue) {
            def providerFactory = Mock(ProviderFactory)
            providerFactory.gradleProperty("org.gradle.java.installations.auto-detect") >> Providers.ofNullable(null)
            providerFactory.gradleProperty("org.gradle.java.installations.maven-toolchains-file") >> Providers.ofNullable(propertyValue)
            providerFactory.environmentVariable("JDK16") >> Providers.of("/usr/lib/jvm/adoptopenjdk-16.jdk")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  3. platforms/jvm/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/DefaultJavaInstallationRegistry.java

            return new JvmToolchainMetadata(metadata, location);
        }
    
        @Override
        public void addInstallation(InstallationLocation installation) {
            installations.add(installation);
        }
    
        private Set<InstallationLocation> collectInstallations(List<InstallationSupplier> suppliers) {
            return suppliers.parallelStream()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:46:10 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AvailableJavaHomes.java

    /**
     * Allows the tests to get hold of an alternative Java installation when needed.
     */
    public abstract class AvailableJavaHomes {
    
        private static final Supplier<List<JvmInstallationMetadata>> INSTALLATIONS = Suppliers.memoize(AvailableJavaHomes::discoverLocalInstallations);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/toolchain/DaemonJavaToolchainQueryServiceTest.groovy

            return new DaemonJavaToolchainQueryService(createInstallationRegistry(installations, detector), currentJavaHomePath)
        }
    
        private def createInstallationRegistry(Collection<String> locations, JvmMetadataDetector detector) {
            def installations = locations.collect {
                def location = locationFor(it)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/jvm/toolchain/internal/JavaToolchainQueryServiceTest.groovy

            Collection<String> installations,
            InstallationLocation currentJvm = null,
            Function<String, String> getVersion = { it },
            Function<String, String> getVendor = { "" }
        ) {
            def detector = newJvmMetadataDetector(getVersion, getVendor)
            def registry = createInstallationRegistry(installations, detector)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:46:10 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AbstractSmokeTest.groovy

        private static List<String> toolchainParameters() {
            return [
                "-Porg.gradle.java.installations.paths=${AvailableJavaHomes.getAvailableJvms().collect { it.javaHome.absolutePath }.join(",")}" as String,
                '-Porg.gradle.java.installations.auto-detect=false',
                '-Porg.gradle.java.installations.auto-download=false',
            ]
        }
    
        private static List<String> kotlinDslParameters() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 08:14:32 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiClientJdkCompatibilityTest.groovy

            when:
            succeeds("runTask",
                "-PclientJdk=" + clientJdkVersion.majorVersion,
                "-PtargetJdk=" + gradleDaemonJdk.javaHome.absolutePath,
                "-Porg.gradle.java.installations.paths=${AvailableJavaHomes.getAvailableJvms().collect { it.javaHome.absolutePath }.join(",")}",
                "-PgradleVersion=" + gradleVersion)
    
            then:
            output.contains("BUILD SUCCESSFUL")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/common/extensions.kt

        return listOf(
            "-PteamCityBuildId=%teamcity.build.id%",
            os.javaInstallationLocations(arch),
            "-Porg.gradle.java.installations.auto-download=false",
            "-Porg.gradle.java.installations.auto-detect=false",
        )
    }
    
    fun promotionBuildParameters(dependencyBuildId: RelativeId, extraParameters: String, gitUserName: String, gitUserEmail: String) =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/releases/installation.adoc

    Gradle ships with its own Kotlin and Groovy libraries, therefore they do not need to be installed.
    Existing installations are ignored by Gradle.
    
    <<compatibility.adoc#compatibility, See the full compatibility notes for Java, Groovy, Kotlin, and Android.>>
    
    == Linux installation
    
    .Installing with a package manager
    [%collapsible]
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 18:33:11 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top