Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for probeVersion (0.25 sec)

  1. 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)
  2. 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)
  3. 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)
  4. platforms/extensibility/test-kit/src/testFixtures/groovy/org/gradle/testkit/runner/BaseGradleRunnerIntegrationTest.groovy

        }
    
        private static final String LOWEST_MAJOR_GRADLE_VERSION
        static {
            def releasedGradleVersions = new ReleasedVersionDistributions()
            def probeVersions = ["4.10.3", "5.6.4", "6.9.4", "7.6.4", "8.7"]
            String compatibleVersion = probeVersions.find {version ->
                releasedGradleVersions.getDistribution(version)?.worksWith(Jvm.current())
            }
            LOWEST_MAJOR_GRADLE_VERSION = compatibleVersion
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:29:03 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top