ear.gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Convert `ear` build script to Kotlin

  1. … 2 more files in changeset.
Merge CORE and PLUGIN module types

  1. … 28 more files in changeset.
Converted many Groovy script to Kotlin and improved the Kotlin DSL usage in some existing Kotlin scripts.

  1. … 95 more files in changeset.
Introduced the property moduleType to derive source compatibility settings

  1. … 80 more files in changeset.
"coordinate" -> "coordinates"

  1. … 60 more files in changeset.
Move dependency constraints into a separate project

  1. … 69 more files in changeset.
Extract idiomatic test-fixtures plugin to buildSrc

Plugin is applied to all "groovy projects", see `groovyProject.gradle`.

The plugin configures the Project as a test fixtures producer if

`src/testFixtures` is a directory.

The plugin configures the Project as a test fixtures consumer according

to the `testFixtures` extension configuration.

No more Groovy Closure with optional parameters as a Project extra

property.

Test-fixtures configuration rely on a Groovy DSL only feature that

allows to pass a collection of dependency notations when declaring

dependencies. The Kotlin DSL lacks this feature, see

https://github.com/gradle/kotlin-dsl/issues/639

A workaround has been put in place in `build-extensions.kt` in order to

move forward until this is properly fixed in the Kotlin DSL.

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 70 more files in changeset.
Stop EarPluginTest from leaking files.

- This changes the `EarPluginTest` to use the

`AbstractProjectBuilderSpec` which cleans up test files directories.

  1. … 1 more file in changeset.
Update subprojects for verifying test file cleanup

  1. … 28 more files in changeset.
Remove some uses of the 'groovy' configuration in our build.

  1. … 1 more file in changeset.
Inject Instantiator into IDE and Sonar plugins.

  1. … 13 more files in changeset.
More tweaks to dependency declarations.

  1. … 13 more files in changeset.
Merge libraries.groovy and libraries.groovy_depends

  1. … 21 more files in changeset.
Introduce convention of presence of src/integTest directory automatically applying the gradle/integTest.gradle script.

  1. … 10 more files in changeset.
Added a new sourceSet “testFixtures” (automatically applied if project has a src/testFixtures did) for test fixtures that apply to a project's classes. Also moved the test fixtures for the core and plugins projects from internal-testing into this new source set.

Also added a build dsl method “useTestFixtures()” that configures a project to use the test fixtures from another project.

I don't think this will solve our cyclic project dependencies in Eclipse issue, but it's a step in the right direction.

  1. … 44 more files in changeset.
Introduced a build convention of projects prefixed with “internal-” being regarded as not for public consumption.

Right now, this means not including them in the Gradle distribution and not requiring Javadocs like public projects.

The “testing” project has been renamed to “testingInternal” under this new convention.

  1. … 135 more files in changeset.
Moved core/src/test and core/src/integTest into new “testing” module which contains all fixtures/utilities for testing support.

This module is not part of the Gradle distribution. See the build script for this module for more info.

  1. … 134 more files in changeset.
Extracted the ear plugin out into its own module.

  1. … 45 more files in changeset.
Adding new “ear” submodule to split the ear classes out from the “plugins” monolith.

  1. … 2 more files in changeset.