dependencymanagement

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Separate samples subproject (#10829)

Also see the discussion in https://github.com/gradle/gradle-private/issues/1663

Previously, `integTest` subproject runs 15 mins, now we split it into 3 jobs: `integTest`/`integTest_2`/`integTest_3`. However, the one containing sample tests is still too slow.

The average build time of that job is 10 minutes. This PR separates the `samples` project so that we can further optimise the build structure (e.g. `samples_2`/`samples_3`).

    • -95
    • +0
    ./SamplesComponentSelectionRulesIntegrationTest.groovy
    • -174
    • +0
    ./SamplesDeclaringDependenciesIntegrationTest.groovy
    • -43
    • +0
    ./SamplesDeclaringRepositoriesIntegrationTest.groovy
    • -71
    • +0
    ./SamplesDefiningUsingConfigurationsIntegrationTest.groovy
    • -75
    • +0
    ./SamplesDependencySubstitutionIntegrationTest.groovy
    • -231
    • +0
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
    • -96
    • +0
    ./SamplesResolutionStrategyIntegrationTest.groovy
    • -67
    • +0
    ./SamplesTroubleshootingDependencyResolutionIntegrationTest.groovy
    • -126
    • +0
    ./SamplesWorkingWithDependenciesIntegrationTest.groovy
  1. … 80 more files in changeset.
Use a separate project

    • -95
    • +0
    ./SamplesComponentSelectionRulesIntegrationTest.groovy
    • -174
    • +0
    ./SamplesDeclaringDependenciesIntegrationTest.groovy
    • -43
    • +0
    ./SamplesDeclaringRepositoriesIntegrationTest.groovy
    • -71
    • +0
    ./SamplesDefiningUsingConfigurationsIntegrationTest.groovy
    • -75
    • +0
    ./SamplesDependencySubstitutionIntegrationTest.groovy
    • -231
    • +0
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
    • -96
    • +0
    ./SamplesResolutionStrategyIntegrationTest.groovy
    • -67
    • +0
    ./SamplesTroubleshootingDependencyResolutionIntegrationTest.groovy
    • -126
    • +0
    ./SamplesWorkingWithDependenciesIntegrationTest.groovy
  1. … 79 more files in changeset.
Use a separate project

    • -95
    • +0
    ./SamplesComponentSelectionRulesIntegrationTest.groovy
    • -174
    • +0
    ./SamplesDeclaringDependenciesIntegrationTest.groovy
    • -43
    • +0
    ./SamplesDeclaringRepositoriesIntegrationTest.groovy
    • -71
    • +0
    ./SamplesDefiningUsingConfigurationsIntegrationTest.groovy
    • -75
    • +0
    ./SamplesDependencySubstitutionIntegrationTest.groovy
    • -231
    • +0
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
    • -96
    • +0
    ./SamplesResolutionStrategyIntegrationTest.groovy
    • -67
    • +0
    ./SamplesTroubleshootingDependencyResolutionIntegrationTest.groovy
    • -126
    • +0
    ./SamplesWorkingWithDependenciesIntegrationTest.groovy
  1. … 79 more files in changeset.
Rewrite section on component metadata rules (#10735)

The section was written when the very first version of rules was

introduced and since then only marginally updated.

This is a complete rewrite of the section focusing on explaining

all the metadata modeling features of Gradle Module Metadata

which can be utilized in rules to enrich existing metadata.

The features are described on using real-world use cases.

Related sections are also updated where applicable.

    • -93
    • +0
    ./SamplesComponentMetadataRulesIntegrationTest.groovy
  1. … 59 more files in changeset.
Rewrite section on component metadata rules

The section was written when the very first version of rules was

introduced and since then only marginally updated.

This is a complete rewrite of the section focusing on explaining

all the metadata modeling features of Gradle Module Metadata

which can be utilized in rules to enrich existing metadata.

The features are described on using real-world use cases.

Related sections are also updated where applicable.

    • -93
    • +0
    ./SamplesComponentMetadataRulesIntegrationTest.groovy
  1. … 59 more files in changeset.
Rewrite section on component metadata rules

The section was written when the very first version of rules was

introduced and since then only marginally updated.

This is a complete rewrite of the section focusing on explaining

all the metadata modeling features of Gradle Module Metadata

which can be utilized in rules to enrich existing metadata.

The features are described on using real-world use cases.

Related sections are also updated where applicable.

    • -93
    • +0
    ./SamplesComponentMetadataRulesIntegrationTest.groovy
  1. … 59 more files in changeset.
Rewrite section on component metadata rules

The section was written when the very first version of rules was

introduced and since then only marginally updated.

This is a complete rewrite of the section focusing on explaining

all the metadata modeling features of Gradle Module Metadata

which can be utilized in rules to enrich existing metadata.

The features are described on using real-world use cases.

Related sections are also updated where applicable.

    • -93
    • +0
    ./SamplesComponentMetadataRulesIntegrationTest.groovy
  1. … 59 more files in changeset.
Deprecated `force` on first-level dependencies

This commit deprecates using `force` in favor of using the

new "strictly" behavior. The "force" flag is still used

internally, in particular in case of virtual platforms, but

its usage should be discouraged as we have a solution which

is better now.

    • -0
    • +1
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 23 more files in changeset.
Deprecated `force` on first-level dependencies

This commit deprecates using `force` in favor of using the

new "strictly" behavior. The "force" flag is still used

internally, in particular in case of virtual platforms, but

its usage should be discouraged as we have a solution which

is better now.

    • -0
    • +1
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 23 more files in changeset.
Adjust test fixtures and test to ivy behavior changes

    • -2
    • +2
    ./SamplesDependencySubstitutionIntegrationTest.groovy
  1. … 38 more files in changeset.
Fixes

    • -2
    • +2
    ./SamplesDependencySubstitutionIntegrationTest.groovy
  1. … 29 more files in changeset.
Fixes

    • -2
    • +2
    ./SamplesDependencySubstitutionIntegrationTest.groovy
  1. … 31 more files in changeset.
Align implementations of artifact identifier display names

DefaultModuleComponentArtifactIdentifier now behaves similar as

ComponentFileArtifactIdentifier (showing the full actual file name).

This means that the artifact name used during reporting now

contains the version at the usual position in the file name.

This way it shows the actual file name for artifacts originating

from pom-only maven repositories (except snapshots, which show the

SNAPSHOT placeholder) and ivy repositories with default pattern.

The motivation for this alignment is to get the same representation for

the same file, independent of whether it was sourced from traditional

or Gradle module metadata.

    • -3
    • +3
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 32 more files in changeset.
Align implementations of artifact identifier display names

DefaultModuleComponentArtifactIdentifier now behaves similar as

ComponentFileArtifactIdentifier (showing the full actual file name).

This means that the artifact name used during reporting now

contains the version at the usual position in the file name.

This way it shows the actual file name for artifacts originating

from pom-only maven repositories (except snapshots, which show the

SNAPSHOT placeholder) and ivy repositories with default pattern.

The motivation for this alignment is to get the same representation for

the same file, independent of whether it was sourced from traditional

or Gradle module metadata.

    • -3
    • +3
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 32 more files in changeset.
Rework declaring repositories

* Reorder sections

* Delete some duplication

* Removed no longer needed samples

* Move out dep download and cache to dedicated document

    • -19
    • +0
    ./SamplesDeclaringRepositoriesIntegrationTest.groovy
  1. … 20 more files in changeset.
Rework declaring repositories

* Reorder sections

* Delete some duplication

* Removed no longer needed samples

* Move out dep download and cache to dedicated document

    • -19
    • +0
    ./SamplesDeclaringRepositoriesIntegrationTest.groovy
  1. … 20 more files in changeset.
Update samples to use new Java plugin configurations

    • -2
    • +2
    ./SamplesDependencySubstitutionIntegrationTest.groovy
  1. … 65 more files in changeset.
Update samples to use new Java plugin configurations

    • -2
    • +2
    ./SamplesDependencySubstitutionIntegrationTest.groovy
  1. … 65 more files in changeset.
Update samples to use new Java plugin configurations

    • -2
    • +2
    ./SamplesDependencySubstitutionIntegrationTest.groovy
  1. … 65 more files in changeset.
Update samples to use new Java plugin configurations

    • -2
    • +2
    ./SamplesDependencySubstitutionIntegrationTest.groovy
  1. … 65 more files in changeset.
Update samples to use new Java plugin configurations

    • -2
    • +2
    ./SamplesDependencySubstitutionIntegrationTest.groovy
  1. … 66 more files in changeset.
Update samples to use new Java plugin configurations

    • -2
    • +2
    ./SamplesDependencySubstitutionIntegrationTest.groovy
  1. … 65 more files in changeset.
WIP - more doc/sample adjustments

    • -2
    • +2
    ./SamplesDependencySubstitutionIntegrationTest.groovy
  1. … 3 more files in changeset.
Upgrade Groovy version to customized 1.1-2.5.7

    • -3
    • +3
    ./SamplesResolutionStrategyIntegrationTest.groovy
  1. … 39 more files in changeset.
Upgrade Groovy version to customized 1.1-2.5.7

    • -3
    • +3
    ./SamplesResolutionStrategyIntegrationTest.groovy
  1. … 40 more files in changeset.
Upgrade Groovy version to customized 1.1-2.5.7

    • -3
    • +3
    ./SamplesResolutionStrategyIntegrationTest.groovy
  1. … 39 more files in changeset.
Upgrade Groovy version to customized 1.1-2.5.7

    • -3
    • +3
    ./SamplesResolutionStrategyIntegrationTest.groovy
  1. … 40 more files in changeset.
Upgrade Groovy version to customized 1.0-2.5.7

x

    • -3
    • +3
    ./SamplesResolutionStrategyIntegrationTest.groovy
  1. … 39 more files in changeset.
Unify Groovy versions to 2.5.4

    • -3
    • +3
    ./SamplesResolutionStrategyIntegrationTest.groovy
  1. … 35 more files in changeset.
Upgrade Groovy to 2.5.7

    • -3
    • +3
    ./SamplesResolutionStrategyIntegrationTest.groovy
  1. … 39 more files in changeset.