publication

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove unused parameter and unused class

  1. … 2 more files in changeset.
Publish Gradle Module Metadata by default

  1. … 4 more files in changeset.
Publish Gradle Module Metadata by default

  1. … 4 more files in changeset.
Publish Gradle Module Metadata by default

  1. … 4 more files in changeset.
Publish Gradle Module Metadata by default

  1. … 4 more files in changeset.
Transition some static methods to a global service, so the implementation can be contextualized.

  1. … 12 more files in changeset.
Transition some static methods to a global service, so the implementation can be contextualized.

  1. … 12 more files in changeset.
Transition some static methods to a global service, so the implementation can be contextualized.

  1. … 12 more files in changeset.
Transition some static methods to a global service, so the implementation can be contextualized.

  1. … 11 more files in changeset.
Avoid eager realization of publishing tasks

  1. … 9 more files in changeset.
Avoid eager realization of publishing tasks

  1. … 9 more files in changeset.
Avoid eager realization of publishing tasks

  1. … 9 more files in changeset.
Avoid eager realization of publishing tasks

  1. … 9 more files in changeset.
Avoid eager realization of publishing tasks

  1. … 9 more files in changeset.
Avoid eager realization of publishing tasks

  1. … 9 more files in changeset.
Publication of resolved versions for Ivy xml

While the feature was added for the Gradle metadata linked to an Ivy

publication, it was missed for the Ivy xml itself.

This commit corrects that, relying on the usage context attributes to

map the Ivy dependency to the requested resolved configuration.

Fixes #8948

  1. … 11 more files in changeset.
Introduce VersionMapping support for IvyPublication

Signed-off-by: Roberto Perez Alcolea <rperezalcolea@netflix.com>

  1. … 7 more files in changeset.
Introduce VersionMapping support for IvyPublication

Signed-off-by: Roberto Perez Alcolea <rperezalcolea@netflix.com>

  1. … 7 more files in changeset.
Add warning for dependency with attributes

Neither Ivy nor Maven support attributes so having attributes defined on

a dependency declaration now produces a warning as well.

Issue #3667

  1. … 3 more files in changeset.
Remove `getUsage` from `UsageContext`

This `Usage` is an artifact of migration. `UsageContext` is mostly representing

what an outgoing published variant is, but this `Usage` is preventing us from

doing smarter things. What we really care about is the attributes of published

variants, and their name for publication.

  1. … 16 more files in changeset.
Allow the services required by a given class to be queried prior to creating any instances of that class. Use this to allow `ArtifactTransformDependencies` to be injected into artifact transforms using any of the service injection patterns (that is, via a constructor or a getter).

    • -1
    • +1
    ./DefaultIvyModuleDescriptorSpecTest.groovy
  1. … 126 more files in changeset.
Replace most direct usages of `DirectInstantiator` with indirect usages via `InstantiatorFactory` or test fixtures instead. This means more consistent behaviour in unit tests because the objects under test will behave more similarly to how they do at runtime. This also allows the decision of how the instantiation should behave to live in as few places as possible, so this can be more easily evolved and contextualized.

    • -2
    • +2
    ./DefaultIvyModuleDescriptorSpecTest.groovy
  1. … 60 more files in changeset.
Decorate all domain collection container for emitting build ops (#7876)

* Update all domain object container with decorator for tracing executed callback actions

* Add decorator to a ll required occurances of DefaultDomainObjectSet

* Keep ctor for DefaultPolymorphicDomainObjectContainer as its used in gradle-idea-ext plugin

* Bring back DefaultDomainObjectSet constructor used by the android plugin

* keep backwards compatibility

  1. … 122 more files in changeset.
Split off value snapshotting and attributes related methods of TestUtil

  1. … 64 more files in changeset.
Warn with Ivy publish and incompatible features

Features like constraints, platforms or declared capabilities are not

supported in the ivy.xml file format.

Issue #3667

  1. … 2 more files in changeset.
Replace internal `SourceDirectorySetFactory` with a method on public `ObjectFactory` service, to allow plugins to create instances of this type without resorting to using internal types.

  1. … 44 more files in changeset.
Separate 'prefer' and 'require' in dependency versions

When we introduced the ability to declare a 'preferred' version on

a dependency declaration, this was implemented such that declaring

a "required" dependency version using `org:foo:1.0` was effectively

the same as declaring a "preferred" version `org:foo { prefer '1.0' }`.

In order to differentiate between the behaviour of required and

preferred dependency versions, this commit introduces a separate

model for these constraint types. This model is published to

Gradle `.module` metadata files, and is retained internally

throughout dependency resolution.

At this stage, the behaviour of required and preferred versions

is identical. A later commit will introduce the behavioural

difference.

  1. … 36 more files in changeset.
Use `getVersion()` in preference to `getVersionConstraint().getPreferredVersion()`

  1. … 13 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.

    • -7
    • +7
    ./DefaultIvyModuleDescriptorSpecTest.groovy
  1. … 30 more files in changeset.
Remove model rules from ivy-publish plugin

  1. … 5 more files in changeset.