- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for generateGlobalSettingsFile (0.61 sec)
-
platforms/software/resources-gcs/src/integTest/groovy/org/gradle/integtests/resource/gcs/maven/MavenGcsSnapshotRepoIntegrationTest.groovy
} def "should download snapshot artifacts when maven local artifacts are different to remote"() { setup: module.publishWithChangedContent() m2.generateGlobalSettingsFile() def localModule = m2.mavenRepo().module("org.gradle", "test", artifactVersion).publish() buildFile << mavenGcsRepoDsl() buildFile << """ configurations { compile }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 4.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/artifactreuse/MavenM2CacheReuseIntegrationTest.groovy
def "uses cached artifacts from maven local cache"() { given: def remoteModule = mavenHttpRepo.module('gradletest.maven.local.cache.test', "foo", "1.0").publish() m2.generateGlobalSettingsFile() def m2Module = m2.mavenRepo().module('gradletest.maven.local.cache.test', "foo", "1.0").publish() buildFile.text = """ repositories { maven { url "${mavenHttpRepo.uri}" } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/maven/MavenS3RepoResolveIntegrationTest.groovy
} def "should not download artifacts when already present in maven home"() { setup: module.publish() m2.generateGlobalSettingsFile() def localModule = m2.mavenRepo().module("org.gradle", "test", artifactVersion).publish() buildFile << mavenAwsRepoDsl() buildFile << """ configurations { compile } dependencies{
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/software/resources-gcs/src/integTest/groovy/org/gradle/integtests/resource/gcs/maven/MavenGcsRepoResolveIntegrationTest.groovy
file('libs/test-1.85.jar').assertIsCopyOf(module.artifactFile) } def "should not download artifacts when already present in maven home"() { setup: module.publish() m2.generateGlobalSettingsFile() def localModule = m2.mavenRepo().module("org.gradle", "test", artifactVersion).publish() buildFile << mavenGcsRepoDsl() buildFile << """ configurations { compile } dependencies{
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 3.8K bytes - Viewed (0) -
platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/maven/MavenS3SnapshotRepoIntegrationTest.groovy
} def "should download snapshot artifacts when maven local artifacts are different to remote"() { setup: module.publishWithChangedContent() m2.generateGlobalSettingsFile() def localModule = m2.mavenRepo().module("org.gradle", "test", artifactVersion).publish() buildFile << mavenAwsRepoDsl() buildFile << """ configurations { compile }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 3.4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/M2Installation.groovy
init() userSettingsFile.text = """ <settings> <localRepository>${userRepository.rootDir.absolutePath}</localRepository> </settings>""" return this } M2Installation generateGlobalSettingsFile(MavenLocalRepository globalRepository = mavenRepo()) { init() globalSettingsFile.createFile().text = """ <settings> <localRepository>${globalRepository.rootDir.absolutePath}</localRepository>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenLocalRepoResolveIntegrationTest.groovy
} def "can resolve artifacts from local m2 with custom local repository defined in global settings.xml"() { given: def sysPropRepo = mavenLocal("artifactrepo") m2.generateGlobalSettingsFile(sysPropRepo) def moduleA = sysPropRepo.module('group', 'projectA', '1.2').publish() when: run 'retrieve' then: hasArtifact(moduleA) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 09 01:09:32 UTC 2024 - 12.2K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/WatchedDirectoriesFileSystemWatchingIntegrationTest.groovy
server.start() def mavenRepository = maven("repo") def mavenHttpRepository = new MavenHttpRepository(server, mavenRepository) m2.generateGlobalSettingsFile() def artifactId = "foo-watch-test" def remoteModule = mavenHttpRepository.module('watched.directories.maven.local.test', artifactId, "1.0").publish()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 13:50:33 UTC 2024 - 15.2K bytes - Viewed (0)