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`).

    • -40
    • +0
    ./AutoTestedSamplesCoreApiIntegrationTest.groovy
    • -28
    • +0
    ./AutoTestedSamplesCoreIntegrationTest.groovy
    • -53
    • +0
    ./SamplesAntlrIntegrationSpec.groovy
    • -122
    • +0
    ./SamplesApplicationIntegrationTest.groovy
    • -45
    • +0
    ./SamplesClientModuleDependenciesIntegrationTest.groovy
    • -58
    • +0
    ./SamplesCodeQualityIntegrationTest.groovy
    • -63
    • +0
    ./SamplesCustomBuildLanguageIntegrationTest.groovy
    • -81
    • +0
    ./SamplesCustomPluginIntegrationTest.groovy
    • -56
    • +0
    ./SamplesGroovyCustomizedLayoutIntegrationTest.groovy
    • -84
    • +0
    ./SamplesGroovyMultiProjectIntegrationTest.groovy
    • -60
    • +0
    ./SamplesGroovyQuickstartIntegrationTest.groovy
    • -50
    • +0
    ./SamplesJUnitIntegrationTest.groovy
    • -59
    • +0
    ./SamplesJavaBaseIntegrationTest.groovy
    • -66
    • +0
    ./SamplesJavaCustomizedLayoutIntegrationTest.groovy
    • -67
    • +0
    ./SamplesJavaIncrementalAnnotationProcessingIntegrationTest.groovy
  1. … 74 more files in changeset.
Use a separate project

    • -40
    • +0
    ./AutoTestedSamplesCoreApiIntegrationTest.groovy
    • -28
    • +0
    ./AutoTestedSamplesCoreIntegrationTest.groovy
    • -53
    • +0
    ./SamplesAntlrIntegrationSpec.groovy
    • -122
    • +0
    ./SamplesApplicationIntegrationTest.groovy
    • -45
    • +0
    ./SamplesClientModuleDependenciesIntegrationTest.groovy
    • -58
    • +0
    ./SamplesCodeQualityIntegrationTest.groovy
    • -63
    • +0
    ./SamplesCustomBuildLanguageIntegrationTest.groovy
    • -81
    • +0
    ./SamplesCustomPluginIntegrationTest.groovy
    • -56
    • +0
    ./SamplesGroovyCustomizedLayoutIntegrationTest.groovy
    • -84
    • +0
    ./SamplesGroovyMultiProjectIntegrationTest.groovy
    • -60
    • +0
    ./SamplesGroovyQuickstartIntegrationTest.groovy
    • -50
    • +0
    ./SamplesJUnitIntegrationTest.groovy
    • -59
    • +0
    ./SamplesJavaBaseIntegrationTest.groovy
    • -66
    • +0
    ./SamplesJavaCustomizedLayoutIntegrationTest.groovy
    • -67
    • +0
    ./SamplesJavaIncrementalAnnotationProcessingIntegrationTest.groovy
  1. … 73 more files in changeset.
Use a separate project

    • -40
    • +0
    ./AutoTestedSamplesCoreApiIntegrationTest.groovy
    • -28
    • +0
    ./AutoTestedSamplesCoreIntegrationTest.groovy
    • -53
    • +0
    ./SamplesAntlrIntegrationSpec.groovy
    • -122
    • +0
    ./SamplesApplicationIntegrationTest.groovy
    • -45
    • +0
    ./SamplesClientModuleDependenciesIntegrationTest.groovy
    • -58
    • +0
    ./SamplesCodeQualityIntegrationTest.groovy
    • -63
    • +0
    ./SamplesCustomBuildLanguageIntegrationTest.groovy
    • -81
    • +0
    ./SamplesCustomPluginIntegrationTest.groovy
    • -56
    • +0
    ./SamplesGroovyCustomizedLayoutIntegrationTest.groovy
    • -84
    • +0
    ./SamplesGroovyMultiProjectIntegrationTest.groovy
    • -60
    • +0
    ./SamplesGroovyQuickstartIntegrationTest.groovy
    • -50
    • +0
    ./SamplesJUnitIntegrationTest.groovy
    • -59
    • +0
    ./SamplesJavaBaseIntegrationTest.groovy
    • -66
    • +0
    ./SamplesJavaCustomizedLayoutIntegrationTest.groovy
    • -67
    • +0
    ./SamplesJavaIncrementalAnnotationProcessingIntegrationTest.groovy
  1. … 73 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
    ./dependencymanagement/SamplesComponentMetadataRulesIntegrationTest.groovy
  1. … 59 more files in changeset.
Fix sample test failure

    • -1
    • +1
    ./SamplesJavaIncrementalAnnotationProcessingIntegrationTest.groovy
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
    ./dependencymanagement/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
    ./dependencymanagement/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
    ./dependencymanagement/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
    • +4
    ./AutoTestedSamplesCoreApiIntegrationTest.groovy
    • -0
    • +1
    ./dependencymanagement/SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 22 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
    • +4
    ./AutoTestedSamplesCoreApiIntegrationTest.groovy
    • -0
    • +1
    ./dependencymanagement/SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 22 more files in changeset.
Adjust documentation to remove mention to uploadArchives

There are a number of exceptions:

- documentation of legacy plugins, in which case the docs have been

updated to say they are deprecated

- documentation of plugins related to deprecated behavior (eg, signing)

    • -94
    • +0
    ./SamplesJavaApiAndImplIntegrationTest.groovy
  1. … 16 more files in changeset.
Adjust documentation to remove mention to uploadArchives

There are a number of exceptions:

- documentation of legacy plugins, in which case the docs have been

updated to say they are deprecated

- documentation of plugins related to deprecated behavior (eg, signing)

    • -94
    • +0
    ./SamplesJavaApiAndImplIntegrationTest.groovy
  1. … 17 more files in changeset.
Adjust documentation to remove mention to uploadArchives

There are a number of exceptions:

- documentation of legacy plugins, in which case the docs have been

updated to say they are deprecated

- documentation of plugins related to deprecated behavior (eg, signing)

    • -94
    • +0
    ./SamplesJavaApiAndImplIntegrationTest.groovy
  1. … 17 more files in changeset.
Deprecate the maven/ivy plugins

This commit introduces a deprecation warning for the `maven` plugin.

Because there's no such thing as an `ivy` plugin, we also deprecate

the _use_ of the `uploadArchives` task, which corresponds to uploading

with `ivy`, but is defined in the `base` plugin that we cannot

deprecate.

    • -0
    • +1
    ./SamplesJavaQuickstartIntegrationTest.groovy
  1. … 15 more files in changeset.
Deprecate the maven/ivy plugins

This commit introduces a deprecation warning for the `maven` plugin.

Because there's no such thing as an `ivy` plugin, we also deprecate

the _use_ of the `uploadArchives` task, which corresponds to uploading

with `ivy`, but is defined in the `base` plugin that we cannot

deprecate.

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

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

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

    • -2
    • +2
    ./dependencymanagement/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
    ./dependencymanagement/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
    ./dependencymanagement/SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 32 more files in changeset.
Remove FindBugs and JDepend plugins from Gradle distribution (#10201)

    • -6
    • +1
    ./SamplesCodeQualityIntegrationTest.groovy
  1. … 64 more files in changeset.
Remove FindBugs and JDepend plugins from Gradle distribution

    • -6
    • +1
    ./SamplesCodeQualityIntegrationTest.groovy
  1. … 64 more files in changeset.
Remove play framework support from Gradle distribution

This is superseded by: https://gradle.github.io/playframework/

This commit removes:

- The `platform-play` and `ide-play` subprojects

- The documentation for the functionality provided by these projects

    • -3
    • +1
    ./UserGuideSamplesIntegrationTest.groovy
  1. … 502 more files in changeset.
Remove play framework support from Gradle distribution

This is superseded by: https://gradle.github.io/playframework/

This commit removes:

- The `platform-play` and `ide-play` subprojects

- The documentation for the functionality provided by these projects

    • -3
    • +1
    ./UserGuideSamplesIntegrationTest.groovy
  1. … 499 more files in changeset.
Remove play framework support from Gradle distribution

This is superseded by: https://gradle.github.io/playframework/

This commit removes:

- The `platform-play` and `ide-play` subprojects

- The documentation for the functionality provided by these projects

    • -3
    • +1
    ./UserGuideSamplesIntegrationTest.groovy
  1. … 508 more files in changeset.
Remove play framework support from Gradle distribution

This is superseded by: https://gradle.github.io/playframework/

This commit removes:

- The `platform-play` and `ide-play` subprojects

- The documentation for the functionality provided by these projects

    • -3
    • +1
    ./UserGuideSamplesIntegrationTest.groovy
  1. … 503 more files in changeset.
Remove play framework support from Gradle distribution

This is superseded by: https://gradle.github.io/playframework/

This commit removes:

- The `platform-play` and `ide-play` subprojects

- The documentation for the functionality provided by these projects

    • -3
    • +1
    ./UserGuideSamplesIntegrationTest.groovy
  1. … 503 more files in changeset.
Remove play framework support from Gradle distribution

This is superseded by: https://gradle.github.io/playframework/

This commit removes:

- The `platform-play` and `ide-play` subprojects

- The documentation for the functionality provided by these projects

    • -3
    • +1
    ./UserGuideSamplesIntegrationTest.groovy
  1. … 499 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
    ./dependencymanagement/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
    ./dependencymanagement/SamplesDeclaringRepositoriesIntegrationTest.groovy
  1. … 20 more files in changeset.