Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 108 for ArtifactFile (0.31 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/internal/resource/cached/AbstractCachedIndex.java

            if (key == null) {
                throw new IllegalArgumentException("key cannot be null");
            }
        }
    
        protected void assertArtifactFileNotNull(File artifactFile) {
            if (artifactFile == null) {
                throw new IllegalArgumentException("artifactFile cannot be null");
            }
        }
    
        public void clear(final K key) {
            assertKeyNotNull(key);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/maven/MavenS3SnapshotRepoIntegrationTest.groovy

            run 'retrieve'
    
            then:
            succeeds 'retrieve'
    
            and:
            localModule.artifactFile.assertIsDifferentFrom(module.artifactFile)
            localModule.pomFile.assertIsDifferentFrom(module.pomFile)
            file("libs/test-${artifactVersion}.jar").assertIsCopyOf(module.artifactFile)
        }
    
        @Override
        String getRepositoryPath() {
            return '/maven/snapshot/'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  3. platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/publication/DefaultIvyPublicationTest.groovy

            moduleDescriptorFile = new File(testDirectoryProvider.testDirectory, "module-file")
            artifactFile = new File(testDirectoryProvider.testDirectory, "artifact-file")
            artifactFile << "some content"
        }
    
        def "name property is passed through"() {
            when:
            def publication = createPublication()
    
            then:
            publication.name == "pub-name"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 19 01:33:41 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformParallelIntegrationTest.groovy

            def m1 = mavenRepo.module("test", "test", "1.3").publish()
            m1.artifactFile.text = "1234"
            def m2 = mavenRepo.module("test", "test2", "2.3").publish()
            m2.artifactFile.text = "12"
            def m3 = mavenRepo.module("test", "test3", "3.3").publish()
            m3.artifactFile.text = "123"
    
            given:
    
            buildFile << """
                repositories {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:31 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenHttpsRepoResolveIntegrationTest.groovy

                server.allowGetOrHead('/repo1/my-group/my-module/1.0/my-module-1.0.jar', 'user', 'secret', module.artifactFile)
            } else {
                server.allowGetOrHead('/repo1/my-group/my-module/1.0/my-module-1.0.pom', module.pomFile)
                server.allowGetOrHead('/repo1/my-group/my-module/1.0/my-module-1.0.jar', module.artifactFile)
            }
        }
    
        @Override
        protected String getRepoType() {
            return "maven"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/TransformingAsyncArtifactListenerTest.groovy

        def file = new File("foo")
        def artifactFile = new File("foo-artifact")
        def artifactId = Stub(ComponentArtifactIdentifier)
        def source = Stub(CalculatedValue) {
            isFinalized() >> true
            getValue() >> Try.successful(file)
        }
        def artifact = Stub(ResolvableArtifact) {
            getId() >> artifactId
            getFileSource() >> source
            getFile() >> artifactFile
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 04:22:29 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/artifactreuse/MavenM2CacheReuseIntegrationTest.groovy

            remoteModule.artifact.sha1.expectGet()
    
            when:
            using m2
            run 'retrieve'
    
            then:
            file('build/foo-1.0.jar').assertIsCopyOf(m2Module.artifactFile)
        }
    
        def "does not reuse cached artifacts from maven local cache when they are different to those in the remote repository"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/plugin/PluginBuilder.groovy

            // The implementation jar module.
            def module = mavenRepo.module(group, artifact, version)
            def pluginModule = module.publish()
            def artifactFile = module.getArtifactFile()
    
            def markerModules = new ArrayList<Module>()
    
            pluginIds.keySet().each { id ->
                // The marker files for each plugin.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 11:17:11 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/UserLocalArtifactRepository.java

        }
    
        @Override
        public Artifact find(Artifact artifact) {
            File artifactFile = new File(localRepository.getBasedir(), pathOf(artifact));
    
            // We need to set the file here or the resolver will fail with an NPE, not fully equipped to deal
            // with multiple local repository implementations yet.
            artifact.setFile(artifactFile);
    
            return artifact;
        }
    
        @Override
        public String getId() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/ModuleArtifactCache.java

         *  @param key The key to cache this resolution under in the index. Cannot be null.
         * @param artifactFile The artifact file in the persistent file store. Cannot be null
         * @param moduleDescriptorHash The checksum (SHA1) of the related moduledescriptor.
         */
        void store(ArtifactAtRepositoryKey key, File artifactFile, HashCode moduleDescriptorHash);
    
        /**
         * Record that the artifact with the given key was missing.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top