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

Fixes #8509

  1. … 1 more file in changeset.
Allow native publications with custom coordinates

The `afterEvaluate {}` block in the native base plugin

was overwriting any user-specified logic.

Replacing it with the Provider API fixes this issue and

also allows late changes to the defaults.

  1. … 19 more files in changeset.
Remove model rules from maven-publish plugin

  1. … 5 more files in changeset.
Make MavenProjectIdentity live

This way the coordinates are only evaluated when needed.

Previously they were evaluated when a publicaiton was created.

Lots of users had worked around it by re-setting the values

to what should already be the defaults later.

  1. … 4 more files in changeset.
Added a public interface that a `SoftwareComponent` implementation can use to describe its variants. In this change, this interface is used only as a marker interface. When present on a component contained in a publication, the `maven-publish` plugin will generate a Gradle specific metadata file for the publication describing the component.

The metadata file doesn't contain anything particularly interesting nor is it used during dependency resolution yet. This change does not add any public way to implement the interface.

  1. … 7 more files in changeset.
Remove deprecated methods on TestUtil (#672)

In order to use project builder correctly without having

leaking files on windows it is necessary to initialize

the test fixture for NativeServices and clean up

the test directory after building.

AbstractProjectBuilderSpec provides a nice base class

for Groovy tests.

I removed the deprecated methods since using them leads

to files lying around. Migrating all the usages to the "new"

way ensures it is used correctly.

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

+review REVIEW-5715

  1. … 19 more files in changeset.
fix MavenPublishPluginTest

+review REVIEW-5388

Don't use convention mappings in publishing plugins.

+review REVIEW-5387

  1. … 2 more files in changeset.
Unit tests

  1. … 2 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.
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.
Reworked DependencyManagementServices so that it contributes regular services to an existing scope rather than creating a new scope.

  1. … 8 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.
Switch PublicationContainer to use new Polymorphic container infrastructure

  1. … 21 more files in changeset.
Don't assume that all dependencies for a Usage are "runtime" in Ivy - Added IvyDependency api and impl which wraps a ModuleDependency and conf mapping string - Only currently used by components: user configuration of dependencies is not supported.

  1. … 16 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.
Test that GenerateMavenPom destination changes with project build dir (REVIEW-1227)

Further cleanup of maven publication with separate GenerateMavenPom task - Moved logic out of MavenNormalisedPublication into DefaultMavenPublication - GenerateMavenPom does not use MavenNormalisedPublication, but uses MavenPublicationInternal for all details - Reinstate the artifact existence check on MavenPublication.asNormalisedPublication() - Improved unit test coverage of DefaultMavenPublication

  1. … 11 more files in changeset.
Checkstyle and unit test fix

  1. … 1 more file in changeset.