- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for MavenInstallationDownloader (0.22 sec)
-
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/MavenInstallationDownloader.groovy
import java.util.concurrent.locks.Lock import java.util.concurrent.locks.ReentrantLock @Slf4j class MavenInstallationDownloader { private final static Lock LOCK = new ReentrantLock() private final File installsRoot MavenInstallationDownloader(File installsRoot) { this.installsRoot = installsRoot } MavenInstallation getMavenInstallation(String mavenVersion) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.9K bytes - Viewed (0) -
testing/internal-performance-testing/src/integTest/groovy/org/gradle/performance/fixture/MavenDownloaderTest.groovy
@TempDir File tmpDir def installRoot def downloader def setup() { installRoot = Files.createTempDirectory(tmpDir.toPath(), null).toFile() downloader = new MavenInstallationDownloader(installRoot) if (JavaVersion.current().isJava7()) { System.setProperty("https.protocols", "TLSv1.2") } } def "can download Maven distribution with version #mavenVersion"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.8K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/MavenInvocationSpec.groovy
private MavenInstallation eventuallyDownloadMavenHome() { def installsRoot = new File(GradleUserHomeLookup.gradleUserHome(), "caches${File.separator}maven-installs") def downloader = new MavenInstallationDownloader(installsRoot) downloader.getMavenInstallation(mavenVersion) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.5K bytes - Viewed (0)