SamplesIvyPublishIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make Javadoc and sources primary variants without dependencies

    • -2
    • +2
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 15 more files in changeset.
Make Javadoc and sources primary variants without dependencies

    • -2
    • +2
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 15 more files in changeset.
Make Javadoc and sources primary variants without dependencies

    • -2
    • +2
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 15 more files in changeset.
Make Javadoc and sources primary variants without dependencies

    • -2
    • +2
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 15 more files in changeset.
Update 'complete example' section in ivy publishing chapter

    • -4
    • +4
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 6 more files in changeset.
Update 'complete example' section in ivy publishing chapter

    • -4
    • +4
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 6 more files in changeset.
Update 'complete example' section in ivy publishing chapter

    • -4
    • +4
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 6 more files in changeset.
Adjust tests and samples to new publishing default behavior

    • -11
    • +11
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 43 more files in changeset.
Adjust tests and samples to new publishing default behavior

    • -11
    • +11
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 16 more files in changeset.
Adjust tests and samples to new publishing default behavior

    • -11
    • +11
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 16 more files in changeset.
Adjust tests and samples to new publishing default behavior

    • -11
    • +11
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 16 more files in changeset.
Fix SamplesIvyPublishIntegrationTest

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -44
    • +26
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 1 more file in changeset.
Add Kotlin sample for ivy-publish/distribution

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -5
    • +11
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 11 more files in changeset.
Fix failing tests for publishing chapter changes

    • -2
    • +2
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 6 more files in changeset.
Add dedicated DSL to customize Ivy descriptor to ivy-publish plugin

This commit adds a type safe DSL for customizing the generated Ivy

module descriptor of an IvyPublication to the ivy-publish plugin:

descriptor {

license {

name = 'The Apache License, Version 2.0'

url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'

}

author {

name = 'Jane Doe'

url = 'http://example.com/users/jane'

}

description {

text = 'A concise description of my library'

homepage = 'http://www.example.com/library'

}

}

Only interfaces are exposed as part of the public API, all of them are

prefixed with `IvyModuleDescriptor`. The exposed properties make use of

the Provider API.

In addition, the new DSL is documented in the User Guide, DSL Reference

and Release Notes.

Resolves #5193.

    • -3
    • +10
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 31 more files in changeset.
Document how to publish distributions using Maven/Ivy Publish Plugins

Prior to this commit the User Guide chapter on the Distribution Plugin included a section on how to publish a distribution archive using the uploadArchives task. Now, the way more flexible publishing of distribution archives using the Ivy/Maven Publish Plugins is documented as well.

Resolves #5244.

    • -0
    • +22
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 10 more files in changeset.
Document how to publish custom artifacts using Maven and Ivy

This commit adds a sample that demonstrates how to publish a custom PublishArtifact as part of an IvyPublication or MavenPublication.

Resolves #3064.

    • -0
    • +20
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 7 more files in changeset.
Remove model blocks from POM/Ivy descriptor generator task samples

The model block is no longer needed because publishing no longer relies

on DeferredConfigurable. This commit removes it from the samples and

deletes the notes explaining why it was needed.

    • -0
    • +1
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 5 more files in changeset.
Document conditional publishing for ivy-publish plugin

Issue: #5116

    • -15
    • +72
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 6 more files in changeset.
Fix Java component publishing

When we introduced the `java-library` plugin, we made sure

the published POM reflects what a downstream project in the

same build would see: `api` dependencies are exposed, `implementation`

dependencies are hidden. The legacy `compile`/`runtime` dependencies

are exposed as well for backwards compatibility.

We forgot to adjust the tests for the existing `java` plugin,

leading to a confusing difference in behavior. The `java` plugin

was still hiding the legacy `compile` and `runtime` dependencies from

consumers. This was due to a bug in the implementation of `JavaLibrary`,

which was looking for the `api` configuration instead of the `apiElements`

configuration.

    • -2
    • +2
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 24 more files in changeset.
Revert "Revert "Merge branch 'cc-java-library-plugin'""

This reverts commit c6cd884e1a8889fb25d26dfcfdfa79d896835e11.

    • -2
    • +2
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 76 more files in changeset.
Revert "Merge branch 'cc-java-library-plugin'"

This reverts commit 0d442a55b445f537efbce65267ce9418fce2e7a8, reversing

changes made to 04647ab69fc8d19186cd2a78124ea74b8a89cc0f.

    • -2
    • +2
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 76 more files in changeset.
Fix expectations on Ivy samples integration tests

    • -2
    • +2
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 3 more files in changeset.
Upgrade Apache Commons Collections to v3.2.2

Version 3.2.1 has a CVSS 10.0 vulnerability. That's the worst kind of

vulnerability that exists. By merely existing on the classpath, this

library causes the Java serialization parser for the entire JVM process

to go from being a state machine to a turing machine. A turing machine

with an exec() function!

https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-8103

https://commons.apache.org/proper/commons-collections/security-reports.html

http://foxglovesecurity.com/2015/11/06/what-do-weblogic-websphere-jboss-jenkins-opennms-and-your-application-have-in-common-this-vulnerability/

    • -1
    • +1
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 54 more files in changeset.
Fix broken int test.

    • -1
    • +1
    ./SamplesIvyPublishIntegrationTest.groovy
Changed IvyHttpModule fixture to use HttpArtifact to represent ivy and jar artifacts and removed a bunch of expect... methods from IvyHttpModule.

    • -7
    • +7
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 29 more files in changeset.
Project dependencies map to a single publication of the depended-on project - For single publication, use it - For multiple publications, fail unless all publications have the same coordinates - For no publications, use the project coordinates - Added ProjectDependencyPublicationResolver to do the work of determining the coordinates to use for a project dependency

    • -7
    • +1
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 20 more files in changeset.
Improved ivy-publish sample for multiple publications, and added test

    • -4
    • +44
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 5 more files in changeset.
REVIEW-1559: Check more details of the dependencies in published ivy.xml and pom.xml

    • -15
    • +6
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 18 more files in changeset.
Updated "publishing ivy" chapter of the user guide for recent changes

    • -0
    • +12
    ./SamplesIvyPublishIntegrationTest.groovy
  1. … 7 more files in changeset.