MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Adjust tests and samples to new metadata sources defaults

    • -3
    • +2
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
  1. … 95 more files in changeset.
Adjust tests following Gradle Module Metadata feature preview removal

    • -3
    • +2
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
  1. … 29 more files in changeset.
Adjust tests following Gradle Module Metadata feature preview removal

    • -3
    • +2
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
  1. … 29 more files in changeset.
Adjust tests following Gradle Module Metadata feature preview removal

    • -3
    • +2
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
  1. … 29 more files in changeset.
Let dependency-management tests not use deprecated configurations

    • -1
    • +1
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
  1. … 27 more files in changeset.
Let dependency-management tests not use deprecated configurations

    • -1
    • +1
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
  1. … 27 more files in changeset.
Let dependency-management tests not use deprecated configurations

    • -1
    • +1
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
  1. … 27 more files in changeset.
Let dependency-management tests not use deprecated configurations

    • -1
    • +1
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
  1. … 27 more files in changeset.
Rename writer/parser classes for consistency

    • -1
    • +1
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
  1. … 21 more files in changeset.
Transform FeaturePreviewsFixture to use the new API

Replaces injecting a property in the gradle.properties with injecting

the gradle.enableFeaturePreview in settings.gradle

    • -1
    • +1
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
  1. … 16 more files in changeset.
Turn experimental option into gradle metadata option

Signed-off-by: Jendrik Johannes <jendrik@gradle.com>

    • -1
    • +1
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
  1. … 18 more files in changeset.
Rename 'experimental features' to 'feature previews'

The idea behind this is that we have a set of feature previews rather

than one cryptic experimental flag.

A feature preview collects a set of related functionality (e.g.

everything related to gradle metadata) that changes existing behavior

and thus could potentially break existing builds. The preview options

will be removed with the next major release (currently 5.0) and the new

behaviour will then become the default.

Signed-off-by: Jendrik Johannes <jendrik@gradle.com>

    • -2
    • +2
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
  1. … 45 more files in changeset.
Adjust tests and test fixtures to opt-in options split

Signed-off-by: Jendrik Johannes <jendrik@gradle.com>

    • -1
    • +1
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
  1. … 13 more files in changeset.
Adjust tests to use the new experimental feature option

Signed-off-by: Jendrik Johannes <jendrik@gradle.com>

    • -1
    • +1
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
  1. … 23 more files in changeset.
Let Maven and Ivy module fixture provide java library variants

    • -2
    • +2
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
  1. … 8 more files in changeset.
Bump FORMAT_VERSION number for Gradle module metadata

    • -6
    • +8
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
  1. … 7 more files in changeset.
Use a fixture to enable experimental features in integTests

    • -10
    • +3
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
  1. … 10 more files in changeset.
Simplify control of experimental features

- Removed ability to selectively enable features via DSL

- Renamed `enableAll()` -> `enable()`

- Can still selectively enable features via System property

    • -1
    • +1
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
  1. … 11 more files in changeset.
Complete conversion from `ComponentAwareRepository` to `ExperimentalFeatures`

    • -7
    • +5
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
  1. … 6 more files in changeset.
Read and write `prefers` and `rejects` version constraints in Gradle metadata file

This commit changes the Gradle metadata file format to write version constraints instead of versions.

Instead of writing a single (preferred) version, the `version` block in the Gradle metadata format

for a dependency is now a proper `VersionConstraint`, with `prefers` and `rejects`.

The Gradle dependency metadata format spec has been adjusted.

Note that this commit does not introduce publishing of such metadata (at least, it doesn't prove that

it works): it only adds support for the feature.

    • -6
    • +6
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
  1. … 8 more files in changeset.
Changed dependency resolution to honor the dependencies declared in the module metadata, when present, in preference to the dependencies declared in the POM.

    • -14
    • +17
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
  1. … 7 more files in changeset.
Changed the module metadata file to include the dependencies for each variant. Currently only the group, module and version properties of each dependency is included. Other information such as exclusions, artifacts and so on are not included. These may be added later.

Changed the version of the format to '0.2'.

    • -6
    • +6
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
  1. … 8 more files in changeset.
Improved resolution of artifacts defined in the module metadata file, so that the 'name' property is honored for local Maven repositories, by copying the file into the artifact cache, and the 'url' property is honored for both local and remote repositories.

    • -0
    • +388
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
  1. … 12 more files in changeset.