DefaultIvyModuleDescriptorSpecTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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. … 127 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.
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. … 31 more files in changeset.
Review items for 'Make branch attribute available when publishing and resolving Ivy modules' story

- Changed groovy.xml.QName to javax.xml.namespace.QName

- Minor change to error message and construction of namespace list

- Minor change to dsl doc

- Changed IvyModuleDescriptorSpec to return mutable view of IvyExtraInfoSpec

- Minor change to sample build script

+review REVIEW-5059

    • -1
    • +1
    ./DefaultIvyModuleDescriptorSpecTest.groovy
  1. … 18 more files in changeset.
Review items for 'Make branch attribute available when publishing and resolving Ivy modules' story

- Changed extraInfo from a Map to an IvyExtraInfo with a map view

+review REVIEW-5059

    • -4
    • +4
    ./DefaultIvyModuleDescriptorSpecTest.groovy
  1. … 31 more files in changeset.
Review items for 'Make branch attribute available when publishing and resolving Ivy modules' story

- Moved NamespaceId and IvyModuleDescriptor to artifacts.ivy subpackage

- Added test for NamespaceId

- Updated javadoc comment for IvyModuleDescriptor.getIvyStatus to reflect that it is immutable

+review REVIEW-5059

    • -1
    • +1
    ./DefaultIvyModuleDescriptorSpecTest.groovy
  1. … 27 more files in changeset.
Addressing open issues for 'Make branch attribute available when publishing and resolving Ivy modules'

- Adding support for publishing extra info elements

- Change extra info map to use composite key for namespacing

+review REVIEW-5059

    • -0
    • +59
    ./DefaultIvyModuleDescriptorSpecTest.groovy
  1. … 24 more files in changeset.