Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
Add task to publish all publications to a single Ivy repository

Similarly to the task added for Maven repositories

Fixes #8509

  1. … 1 more file in changeset.
Make Ivy project identity live

  1. … 3 more files in changeset.
Revert "Flag a bunch of tests that @LeaksFileHandlers"

Now that the NativeServices initialization is fixed, these tests should

no longer leak file handles on Windows. Let's see.

This reverts commit af9d437b589adbe6688c2c7ec82eb3ba31fa5336.

  1. … 15 more files in changeset.
Flag a bunch of tests that @LeaksFileHandlers

- Now that we're correctly registering the cleanup rules, these

leaks are causing build failures on windows.

  1. … 15 more files in changeset.
Extracted a base specification which can be used for writing software model plugin unit tests, from various existing unit tests.

  1. … 4 more files in changeset.
Move ModelRegistryHelper functionality to Groovy extension module

+review REVIEW-5715

  1. … 19 more files in changeset.
Don't graph-close task container model node when selecting tasks for execution

+review REVIEW-5370

  1. … 37 more files in changeset.
Push the class to rule extractor into the registry, to allow nodes etc. to accept RuleSource classes.

While it bothers me slightly that we are pushing knowledge of a particular type of rule representation into the registry, it saves having to cart some extra stuff around.

+review REVIEW-5353

  1. … 38 more files in changeset.
Collection mutation rule specifies input taking mutation rule for particular model element

+review REVIEW-5353

  1. … 68 more files in changeset.
Revert selective task closing work.

Too much breakage.

+review REVIEW-5350

  1. … 67 more files in changeset.
Wire the model registry into the “task selector”, effectively enabling configure-on-demand for rule based task declarations.

Rather than eagerly “realize” the whole task container and its contents, we now only realize the container itself.

This means that we know of all the tasks that will exist without actually creating them.

If a task (declared by rules) is not needed for a build (i.e. not selected, not depended on) it will not be created.

However, our rule based plugins at this time contain coarse rules that don't allow this feature to be leveraged.

Benefits will only be seen right now for contrived domains.

  1. … 63 more files in changeset.
Deprecate PluginContainer.apply(Class) and PluginContainer.apply(String)

+review REVIEW-5239

  1. … 101 more files in changeset.
Go back to adding model rules for tasks as soon as they are added to the task container

+review REVIEW-5176

  1. … 11 more files in changeset.
Moved a few classes to live in org.gradle.internal.xml and org.gradle.internal.html

  1. … 63 more files in changeset.
Extract ModelRegistryValidatingConfigurationAction from TaskModelRealizingConfigurationAction

+review REVIEW-5176

  1. … 4 more files in changeset.
Configuration performed to “bridged” model element made in afterEvaluate() is visible to creation rule

+review REVIEW-5176

  1. … 16 more files in changeset.
Test fixes are API change.

  1. … 5 more files in changeset.
Remove some use of String as a model path.

  1. … 20 more files in changeset.
Initial work on new rule based configuration model, integrated into the publishing plugin.

  1. … 50 more files in changeset.
renamed HelperUtil to TestUtil (REVIEW-1626)

  1. … 145 more files in changeset.
Can now set 'status' on IvyModuleDescriptor and 'packaging' on MavenPom - Updated release notes to document breaking change to default 'status' in ivy publication - No longer set status of IvyPublication from Project.status

  1. … 12 more files in changeset.
Switch PublicationContainer to use new Polymorphic container infrastructure

  1. … 21 more files in changeset.
REVIEW-1651: Renamed IvyProjectIdentity -> IvyPublicationIdentity

  1. … 9 more files in changeset.
Reworked package structure to remove package cycle (both ivy & maven)

  1. … 55 more files in changeset.
Introduced separate identifier for ivy publications - Use IvyProjectIdentity instead of Module for identifying ivy publication - Ivy publication identifier is now based on a snapshot of project state at time publication was created - Fixed ivy publication so that ivy status is correctly populated in descriptor - Added some basic integ test coverage for ivy status - Moved MavenProjectIdentity.getPackaging() onto MavenPomInternal

  1. … 30 more files in changeset.
Reorganised the package structure of ivy.publish - Moved IvyPublisher and related service classes into internal.publisher - Moved tasks.internal -> internal.plugins to be more consistent

  1. … 15 more files in changeset.
Started adding custom artifact support to ivy-publish plugin (based on maven-publish support) - Added IvyArtifact and IvyArtifactSet - Replaced use of PublishArtifact with IvyArtifact - Added IvyPublication.artifact(source) and IvyPublication.artifact(source, config) - Added IvyArtifactNotationParser and various implementations of IvyArtifact for file/archive/publishArtifact

  1. … 32 more files in changeset.
Moved XmlTransformer to a dedicated package.

  1. … 33 more files in changeset.
Hoist the generation of the Ivy module descriptor up to a separate task.

  1. … 29 more files in changeset.
Change ivy-publish plugin to not create “main” things, and to use a different task naming strategy.


1. The implicit publication is named “ivy” (reversion)

2. No repository is created by default (reversion)

3. Dynamically created tasks are named “publish«PUBLICATION NAME»PublicationTo«REPOSITORY NAME»Repository.

The task name leaves something to be desired.

  1. … 20 more files in changeset.