Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for userDefined (0.31 sec)

  1. platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/CachingJvmMetadataDetectorTest.groovy

            1 * delegate.getMetadata(location1)
            0 * delegate.getMetadata(location2)
        }
    
        private InstallationLocation testLocation(String filePath) {
            return InstallationLocation.userDefined(new File(filePath), "test")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 18:25:34 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. platforms/jvm/toolchains-jvm-shared/src/test/groovy/org/gradle/jvm/toolchain/internal/JvmInstallationMetadataMatcherTest.groovy

                    execHandleFactory,
                    TestFiles.tmpDirTemporaryFileProvider(tmpDir)
            )
        }
    
        private InstallationLocation testLocation(File javaHome) {
            InstallationLocation.userDefined(javaHome, "test")
        }
    
        private static Map<String, String> semeruJvm11() {
            ['java.home': "java-home",
             'java.version': "11.0.17",
             'java.vendor': "IBM Corporation",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/JavaToolchainQueryService.java

            }
    
            if (spec instanceof SpecificInstallationToolchainSpec) {
                return asToolchainOrThrow(InstallationLocation.userDefined(((SpecificInstallationToolchainSpec) spec).getJavaHome(), "specific installation"), spec, false);
            }
    
            return findInstalledToolchain(spec).orElseGet(() -> downloadToolchain(spec));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 15 08:02:27 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/internal/jvm/inspection/DefaultJavaInstallationRegistryTest.groovy

            def installations = Mock(InstallationSupplier)
            installations.sourceName >> "testSource"
            installations.get() >> location.collect { InstallationLocation.userDefined(it, "testSource") }
    
            return new DefaultJavaInstallationRegistry(
                toolchainConfiguration,
                [],
                [ installations ],
                jvmMetadataDetector,
                logger,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:46:10 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top