- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for probeVersion (0.09 sec)
-
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/MavenInvocationSpec.groovy
} private void assertMavenHomeAndVersionMatch() { def probedVersion = MavenInstallation.probeVersion(mavenHome) assert mavenVersion == probedVersion } private MavenInstallation eventuallyDownloadMavenHome() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.5K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/MavenInstallation.groovy
} return new File(bin, "mvn") } static boolean valid(File home) { def mvn = findMvnExecutable(home) home.isDirectory() && mvn.isFile() } static String probeVersion(File home) { def mvn = findMvnExecutable(home) def env = System.getenv().findAll { it.key != "M2" && it.key != "M2_HOME" }.collect { "${it.key}=${it.value}" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.2K bytes - Viewed (0) -
testing/internal-performance-testing/src/integTest/groovy/org/gradle/performance/fixture/MavenDownloaderTest.groovy
throw e } then: install.home.isDirectory() install.mvn.isFile() install.version == mavenVersion MavenInstallation.probeVersion(install.home) == mavenVersion where: mavenVersion << ['3.3.9', '3.5.0'] } def "throws exception if Maven distribution cannot be downloaded from any repository"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.8K bytes - Viewed (0)