Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 108 for ArtifactFile (0.22 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenDynamicResolveIntegrationTest.groovy

            then:
            file('libs').assertHasDescendants('projectA-1.1.jar', 'projectB-1.2-SNAPSHOT.jar')
            file('libs/projectA-1.1.jar').assertIsCopyOf(matchingA.artifactFile)
            file('libs/projectB-1.2-SNAPSHOT.jar').assertIsCopyOf(matchingB.artifactFile)
    
            when:
            server.resetExpectations()
    
            and:
            run 'retrieve'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationPublishingIntegrationTest.groovy

            debug.assertPublished()
            debug.assertArtifactsPublished(executableName("test_debug-1.2"), "test_debug-1.2.pom", "test_debug-1.2.module")
            debug.artifactFile(type: executableExtension).assertIsCopyOf(executable("build/exe/main/debug/test").file)
    
            debug.parsedPom.scopes.isEmpty()
    
            def debugMetadata = debug.parsedModuleMetadata
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  3. platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/internal/publication/DefaultIvyPublication.java

            return set;
        }
    
        private boolean isValidArtifact(IvyArtifact artifact) {
            // Validation is done this way for backwards compatibility
            File artifactFile = artifact.getFile();
            if (artifactFile == null) {
                throw new InvalidIvyPublicationException(name, String.format("artifact file does not exist: '%s'", artifact));
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 20.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationIntegrityCheckIntegTest.groovy

            def module = new File(group, "foo")
            def version = new File(module, "1.0")
            def originHash = new File(version, fooChecksum)
            def artifactFile = new File(originHash, "foo-1.0.jar")
            artifactFile.text = "tampered"
    
            fails ':compileJava'
    
            then:
            failure.assertHasCause terse ? """Dependency verification failed for configuration ':compileClasspath'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 07:31:22 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  5. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDependencyArtifactsIntegrationTest.groovy

                }
    """
    
            when:
            resolveArtifacts()
    
            then:
            executed ":buildB:jar"
            assertResolved buildB.file('build/libs/buildB-1.0.jar'), moduleC.artifactFile
        }
    
        def "builds substituted dependency with transitive external dependency that is substituted"() {
            given:
            dependency 'org.test:buildB:1.0'
    
            buildB.buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 06 13:06:28 UTC 2020
    - 21.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIntegrationTest.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"
    
            given:
            buildFile << """
                repositories {
                    maven { url "${mavenRepo.uri}" }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:42 UTC 2023
    - 100.8K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationSignatureCheckIntegTest.groovy

            def module = new File(group, "foo")
            def version = new File(module, "1.0")
            def originHash = new File(version, getChecksum(foo, "sha1"))
            def artifactFile = new File(originHash, "foo-1.0.jar")
            artifactFile.text = "tampered"
            fails ":compileJava"
    
            then:
            assertVerificationError(terse) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 75.1K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ArtifactDependenciesIntegrationTest.groovy

    Searched in the following locations:
        ${module.artifactFile(type: 'zip').displayUri}""")
    
            when:
            fails('listMissingClassifier')
    
            then:
            failure.assertHasCause("""Could not find lib-1.0-classifier1.jar (org.gradle.test:lib:1.0).
    Searched in the following locations:
        ${module.artifactFile(classifier: 'classifier1').displayUri}""")
        }
    
        @Issue("GRADLE-1342")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 01:09:32 UTC 2024
    - 23.7K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/ComponentSelectionRulesProcessingIntegTest.groovy

            file("libs").assertHasDescendants("api-1.1.jar")
            file("libs/api-1.1.jar").assertIsDifferentFrom(ivyHttpRepo.module('org.utils', 'api', '1.1').jarFile)
            file("libs/api-1.1.jar").assertIsCopyOf(mavenModule.artifactFile)
        }
    
        // Gradle metadata doesn't support parents
        @RequiredFeature(feature = GradleMetadataResolveRunner.GRADLE_METADATA, value="false")
        def "parent is not affected by selection rules" () {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  10. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryCompilationIntegrationTest.groovy

            buildSharedJar('1.1', 'class Foo { int x }')
        }
    
        private void buildSharedJar(String version, String classBody) {
            def jar = mavenRepo.module('org.gradle.test', 'shared', version).publish().artifactFile
            def configuration = new CompilerConfiguration()
            def bytes = null
            configuration.setBytecodePostprocessor { String name, byte[] original ->
                bytes = original
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 13:02:41 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top