Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for noComponentPublished (0.28 sec)

  1. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishArtifactCustomizationIntegTest.groovy

                ext = 'txt'
                withModuleMetadata {
                    noComponentPublished()
                }
                withoutModuleMetadata {
                    expectFiles "projectText-1.0.txt"
                }
            }
            resolveArtifacts(module) {
                ext = 'foo'
                withModuleMetadata {
                    noComponentPublished()
                }
                withoutModuleMetadata {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 06:46:01 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  2. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishArtifactCustomizationIntegTest.groovy

                    expectFiles "ivyPublish-2.4.html", "ivyPublish-2.4.jar", "ivyPublish-2.4.reg", "ivyPublish-2.4.txt",  "ivyPublish-2.4.foo", "ivyPublish-2.4.bar"
                }
                withModuleMetadata {
                    noComponentPublished()
                }
            }
        }
    
        def "can configure custom artifacts when creating"() {
            given:
            createBuildScripts("""
                publications {
                    ivy(IvyPublication) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 18.3K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/SingleArtifactResolutionResultSpec.groovy

            if (onFailure == null) {
                throw new IllegalArgumentException("Please provide an explanation for the failure")
            }
            failureExpectations << onFailure
        }
    
        void noComponentPublished() {
            shouldFail {
                assertHasCause("Could not find ${module.group}:${module.module}:${module.version}")
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishEarIntegTest.groovy

            then:
            earModule.assertPublishedAsEarModule()
            earModule.parsedPom.scopes.isEmpty()
    
            and:
            resolveArtifacts(earModule) {
                withModuleMetadata {
                    noComponentPublished()
                }
                withoutModuleMetadata {
                    expectFiles "publishEar-1.9.ear"
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishEarIntegTest.groovy

            resolveArtifacts(ivyModule) {
                withoutModuleMetadata {
                    expectFiles "publishEar-1.9.ear"
                }
                withModuleMetadata {
                    noComponentPublished()
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishCoordinatesIntegTest.groovy

            }
            resolveArtifacts(apiModule) {
                withModuleMetadata {
                    // customizing publications is not supported with Gradle metadata
                    noComponentPublished()
                }
                withoutModuleMetadata {
                    expectFiles 'custom-api-2.jar'
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  7. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishValidationIntegTest.groovy

                configuration = conf
                withoutModuleMetadata {
                    expectFiles "${artifact}-${version}-${classifier}.${extension}"
                }
                withModuleMetadata {
                    noComponentPublished()
                }
            }
    
            where:
            identifier << Identifier.all
        }
    
        def "fails with reasonable error message for invalid identifier value"() {
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  8. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishCoordinatesIntegTest.groovy

                }
            }
            resolveArtifacts(apiModule) {
                withModuleMetadata {
                    // customizing publications is not supported with Gradle metadata
                    noComponentPublished()
                }
                withoutModuleMetadata {
                    expectFiles 'custom-api-2.jar'
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 8K bytes
    - Viewed (0)
  9. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishBasicIntegTest.groovy

            }
    
            and:
            resolveArtifacts(module) {
                withoutModuleMetadata {
                    expectFiles()
                }
                withModuleMetadata {
                    noComponentPublished()
                }
            }
        }
    
        def "can publish simple jar"() {
            given:
            def javaLibrary = javaLibrary(ivyRepo.module('group', 'root', '1.0'))
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  10. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishBasicIntegTest.groovy

            module.assertPublishedAsPomModule()
            module.parsedPom.scopes.isEmpty()
    
            and:
            resolveArtifacts(module) {
                withModuleMetadata {
                    noComponentPublished()
                }
                withoutModuleMetadata {
                    expectFiles()
                }
            }
        }
    
        def "can publish simple component"() {
            given:
            using m2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 14.9K bytes
    - Viewed (0)
Back to top