Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Revert "Revert "Merge branch 'sg/lazy/publish-register-2' into release""

This reverts commit 0937d57caa43dabc31d331dea6c9c0cf72de8607.

    • -58
    • +0
    ./DecoratingPublishArtifactTest.groovy
  1. … 23 more files in changeset.
Revert "Merge branch 'sg/lazy/publish-register-2' into release"

This reverts commit 975120ec3997139e2e81e9ad4c03df89fa0748e5, reversing

changes made to 2eb24bc6b76a7d76b97036ca2c716730bc156d76.

    • -0
    • +58
    ./DecoratingPublishArtifactTest.groovy
  1. … 24 more files in changeset.
Restore removed types that were used by the plugin-publish plugin

    • -0
    • +80
    ./ArchivePublishArtifactTest.groovy
  1. … 1 more file in changeset.
Replace various ConfigurablePublishArtifact types with a single one backed by Providers

    • -80
    • +0
    ./ArchivePublishArtifactTest.groovy
    • -58
    • +0
    ./DecoratingPublishArtifactTest.groovy
  1. … 18 more files in changeset.
Fix tests and remove remaining convention mapping with archive task

    • -6
    • +12
    ./ArchivePublishArtifactTest.groovy
  1. … 5 more files in changeset.
Fixup failing tests after AbstractArchiveTask changes

Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@plexxi.com>

  1. … 3 more files in changeset.
Make AbstractArchiveTask.destinationDir mandatory

Prior to this commit the working directory was used when the

`destinationDir` was not set. Since this behavior does not play nice

with reproducible builds, it will now fail instead. However, it should

rarely happen because the `base` plugin provides a convention.

  1. … 26 more files in changeset.
Make AbstractArchiveTask.destinationDir mandatory

Prior to this commit the working directory was used when the

`destinationDir` was not set. Since this behavior does not play nice

with reproducible builds, it will now fail instead. However, it should

rarely happen because the `base` plugin provides a convention.

  1. … 26 more files in changeset.
Use LazyPublishArtifact for lazy archive tasks

    • -79
    • +0
    ./AbstractArchivePublishArtifactTest.groovy
    • -41
    • +0
    ./ArchiveProviderPublishArtifactTest.groovy
    • -12
    • +49
    ./ArchivePublishArtifactTest.groovy
  1. … 13 more files in changeset.
Introduce ArchiveProviderPublishArtifact for lazily created tasks

    • -0
    • +79
    ./AbstractArchivePublishArtifactTest.groovy
    • -0
    • +41
    ./ArchiveProviderPublishArtifactTest.groovy
    • -58
    • +12
    ./ArchivePublishArtifactTest.groovy
  1. … 11 more files in changeset.
Make ArchivePublishArtifact take a lazy provider

    • -9
    • +18
    ./ArchivePublishArtifactTest.groovy
  1. … 9 more files in changeset.
Allow custom implementations of `PublishArtifact` to be used to declare the artifacts of a configuration, as these are currently used in the Android plugin.

    • -0
    • +58
    ./DecoratingPublishArtifactTest.groovy
  1. … 6 more files in changeset.
Changed `ArchivePublishArtifact` to implement `ConfigurablePublishArtifact` so that all `PublishArtifact` instances created by `ArtifactHandler` are `ConfigurablePublishArtifact`.

Changed type signatures on the converter to reflect this.

  1. … 6 more files in changeset.
Remove `PublishArtifact.attributes`

    • -27
    • +0
    ./DefaultPublishArtifactTest.groovy
  1. … 2 more files in changeset.
Add test case showing we can add attributes to `DefaultPublishArtifact`

This commit just adds simple test cases to make sure we can set and get attributes for an artifact.

See: gradle/performance#205

    • -0
    • +33
    ./DefaultPublishArtifactTest.groovy
  1. … 1 more file in changeset.
Convert test to Spock

Goodbye JMock!

    • -0
    • +62
    ./AbstractPublishArtifactTest.groovy
    • -0
    • +58
    ./DefaultPublishArtifactTest.groovy
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.

    • -6
    • +12
    ./ArchivePublishArtifactTest.groovy
  1. … 97 more files in changeset.
Removed a usage of ModuleRevisionId.

Include the local file as part of the identifier for a local artifact and allow lookup by (name,ext,classifier) if those values are specified and unique.

  1. … 14 more files in changeset.
Fixed GRADLE-2899, archive artifacts without base name were not working correctly.

1. The top level symptoms include wrong artifacts attached to project dependencies, as reported in the jira ticket.

2. Typically, archive tasks are configured well so there's no problem.

3. Added fall back to use archive name if the base name is not supplied. This should be enough for now.

    • -8
    • +21
    ./ArchivePublishArtifactTest.groovy
  1. … 2 more files in changeset.
Reworked the existing coverage before fixing GRADLE-2899

    • -55
    • +27
    ./ArchivePublishArtifactTest.groovy
  1. … 2 more files in changeset.
Remove @author tags and names from source code.

- Added checkstyle check for @author

- Added not to CONTRIBUTING.md saying that we don't use names in the codebase

  1. … 1211 more files in changeset.
Remove equality test, after removing equality impl.

    • -11
    • +0
    ./ArchivePublishArtifactTest.groovy
Introduce 'maven-publish' plugin and related types.

  1. … 30 more files in changeset.
Add equals/hashcode for ArchivePublishArtifact.

    • -0
    • +12
    ./ArchivePublishArtifactTest.groovy
  1. … 1 more file in changeset.
Convert test to groovy.

    • -0
    • +82
    ./ArchivePublishArtifactTest.groovy
- Added ArtifactHandler.add(config, notation) and add(config, notation, closure) to make this usable from languages other than groovy. - ArtifactHandler now supports using a File as an artifact notation. Returns a ConfigurablePublishArtifact so you can tweak the values.

  1. … 13 more files in changeset.
- Moved MavenPomMetaInfoProvider to live in maven project - Moved ArtifactRepository and public subtypes from o.g.api.artifacts.dsl to o.g.api.artifacts.repositories. - Removed some (internal) unused types.

    • -70
    • +0
    ./DefaultArtifactContainerTest.java
  1. … 31 more files in changeset.
merged banch 'core-impl-2'

  1. … 23 more files in changeset.
(GRADLE-1429) Reduced little duplication and moved some classes to more appropriate

  1. … 7 more files in changeset.