WarPluginTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Catch up with master

  1. … 415 more files in changeset.
Make SourceDirectorySet use a directory provider as destination

This also deprecates the 'outputDir' property and renamed and

restructured the wiring to the compile task producing the output.

  1. … 16 more files in changeset.
Make SourceDirectorySet use a directory provider as destination

This also deprecates the 'outputDir' property and renamed and

restructured the wiring to the compile task producing the output.

  1. … 16 more files in changeset.
Make SourceDirectorySet use a directory provider as destination

This also deprecates the 'outputDir' property and renamed and

restructured the wiring to the compile task producing the output.

  1. … 16 more files in changeset.
Make SourceDirectorySet use a directory provider as destination

This also deprecates the 'outputDir' property and renamed and

restructured the wiring to the compile task producing the output.

  1. … 16 more files in changeset.
Make SourceDirectorySet use a directory provider as destination

This also deprecates the 'outputDir' property and renamed and

restructured the wiring to the compile task producing the output.

  1. … 16 more files in changeset.
Make SourceDirectorySet use a directory provider as destination

This also deprecates the 'outputDir' property and renamed and

restructured the wiring to the compile task producing the output.

  1. … 14 more files in changeset.
Make SourceDirectorySet use a directory provider as destination

This also deprecates the 'outputDir' property and renamed and

restructured the wiring to the compile task producing the output.

  1. … 16 more files in changeset.
Make SourceDirectorySet use a directory provider as destination

This also deprecates the 'outputDir' property and renamed and

restructured the wiring to the compile task producing the output.

  1. … 16 more files in changeset.
Make SourceDirectorySet use a directory provider as destination

This also deprecates the 'outputDir' property and renamed and

restructured the wiring to the compile task producing the output.

  1. … 14 more files in changeset.
Dogfood ImmutableFileCollection on production code (#4988)

This reverts commit 13eaebc2b1244511dcbff4c59cd41253e3b69642.

  1. … 88 more files in changeset.
Revert "Dogfood ImmutableFileCollection on production code (#4988)"

This reverts commit 834632674ca29b6fd190857947338b2b54a9bb62.

The commit caused a bug in incremental compilation, causing changes

to go undetected.

  1. … 88 more files in changeset.
Dogfood ImmutableFileCollection on production code (#4988)

Use ImmutableFileCollection in production code

  1. … 88 more files in changeset.
Run Configuration dependency actions only when required

This change fixes #3908, by deferring the execution of Configuration

`withDependencies` and `defaultDependencies` actions. Previously,

these were executed when constructing the LocalComponentMetadata

instance for resolving: this execution is now deferred until the

dependencies or excludes for the LocalConfigurationMetadata are

actually required.

Fixes #3908

Signed-off-by: Daz DeBoer <daz@gradle.com>

  1. … 6 more files in changeset.
Changed the JVM plugins to use the public `ObjectFactory` API to create `Usage` instances, and removed the internal `Usages` class.

  1. … 13 more files in changeset.
Use separate output directories for all JVM languages

- Introduce an outputDir on SourceDirectorySet

- Default output directory is now `build/classes/<source directory set name>/<source set name>`

- Example: Java compilation goes to build/classes/java/main instead of build/classes/main

- Adapt JDepend, FindBugs, Test and ValidateTaskProperties tasks to handle multiple class directories

- Deprecate setClassesDir/getClassesDir on SourceSetOutput

- Calling setClassesDir restores old behavior (shared output directory)

- Introduce addClassesDir and getClassesDirs on SourceSetOutput

- OSGi plugin needs a single classes directory, so introduce 'osgiClasses' task that syncs all classes to a single directory

Most of the changes to integration tests are find classes in their new location. Helper methods in AbstractIntegrationSpec

can locate class files vs hardcoding a path.

Squashed commit of sg-split-jvm-classes branch for REVIEW-6502

  1. … 119 more files in changeset.
Revert "Revert "Merge branch 'cc-java-library-plugin'""

This reverts commit c6cd884e1a8889fb25d26dfcfdfa79d896835e11.

  1. … 76 more files in changeset.
Revert "Merge branch 'cc-java-library-plugin'"

This reverts commit 0d442a55b445f537efbce65267ce9418fce2e7a8, reversing

changes made to 04647ab69fc8d19186cd2a78124ea74b8a89cc0f.

  1. … 76 more files in changeset.
Ensure consistent ordering of artifacts

This commit fixes a bug where the order of artifacts in a configuration wasn't consistent depending

on the hierarchy of configurations. The reason is that the hierarchy of configurations was represented

as a `Set<String>` instead of its ordered `LinkedHashSet<String>` counterpart.

  1. … 1 more file in changeset.
Fix runtime classpath expectations

  1. … 2 more files in changeset.
Put API/impl separation into distinct plugin

This commit extracts the code to separate API and implementation into its own

plugin. Therefore, the `java` plugin is mostly untouched (it only tells about

which configuration to consume), and the `JavaLibraryPlugin` class now provides

the `api` and `implementation` configurations.

We made `compile` extend from `implementation` for backwards compatibility,

and a subsequent plugin will prevent users from using the `compile` configuration

if the "java library" plugin is used.

  1. … 9 more files in changeset.
Initial setup of the API and API compile configurations

This is the initial step to provide API/impl separation for the current model. The commit

introduces two new configurations:

- `api` is a bucket of dependencies configuration where the user would declare the dependencies of its

API. That configuration is not transitive, and reflects the dependencies which are strictly required

when some component needs to compile against this component.

- `apiCompile` is a consumer only configuration which extends the `api` configuration and provides

the compile classpath when a component compiles against this component. It will therefore contain

the dependencies of `api`, plus the API classes. The form in which we provide the API classes has

yet to be defined (could be a jar, a class directory, stubs, ...).

See: gradle/performance#180

  1. … 8 more files in changeset.
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.

  1. … 97 more files in changeset.
Add 'compileOnly' configuration for each source set.

This commit creates a new 'compileOnly' configuration for each declared source set. Dependencies added to this source set are used during compilation only. They are not included on the runtime classpath, are not inherited by test classpath, are not included in 'deployable' artifacts such as WARs, EARs or application distributions, are not exported to consuming projects, and are not included in published metadata.

+review REVIEW-5807

  1. … 22 more files in changeset.
Bust up Matchers to detangle the project dependencies.

Also solves some building in IDEA issues.

  1. … 29 more files in changeset.
renamed HelperUtil to TestUtil (REVIEW-1626)

  1. … 145 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. … 1213 more files in changeset.
Remove some deprecated methods from Project.

- getBuildDirName()

- setBuildDirName()

- usePlugin()

- createTask()

  1. … 10 more files in changeset.
Changed BasePlugin so that 'assemble' builds the artifacts in the 'archives' configuration, rather than the archive tasks in the project.

  1. … 7 more files in changeset.
Extracted logic for deciding which of the artifacts produced by plugins should be published out of the various plugins into a single place (currently an extension object, should be a publication object).

  1. … 11 more files in changeset.