Skip to content

Commit

Permalink
Merge 4.1 release notes from 'release' and 'master' branches
Browse files Browse the repository at this point in the history
  • Loading branch information
jjohannes committed Jul 10, 2017
1 parent adcc84d commit 9d57378
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 8 deletions.
2 changes: 1 addition & 1 deletion subprojects/docs/src/docs/release/notes-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The following are the features that have been promoted in this Gradle release.
## Deprecations

Features that have become superseded or irrelevant due to the natural evolution of Gradle become *deprecated*, and scheduled to be removed
in the next major Gradle version (Gradle 4.0). See the User guide section on the “[Feature Lifecycle](userguide/feature_lifecycle.html)” for more information.
in the next major Gradle version (Gradle 5.0). See the User guide section on the “[Feature Lifecycle](userguide/feature_lifecycle.html)” for more information.

The following are the newly deprecated items in this Gradle release. If you have concerns about a deprecation, please raise it via the [Gradle Forums](https://discuss.gradle.org).

Expand Down
39 changes: 32 additions & 7 deletions subprojects/docs/src/docs/release/notes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
The Gradle team is pleased to announce the release of Gradle 4.1.

This release now supports running Gradle on the most recent JDK 9 release (b170+). It also optimizes startup speed, positively affecting the execution time of every build.

## New and noteworthy

Here are the new features introduced in this Gradle release.
Expand All @@ -6,9 +10,23 @@ Here are the new features introduced in this Gradle release.
IMPORTANT: if this is a patch release, ensure that a prominent link is included in the foreword to all releases of the same minor stream.
Add-->

<!--
### Example new and noteworthy
-->

### Faster Gradle command line client

The Gradle command line client now starts up ~200ms faster, speeding up every build.

### Continuous build now works with composite builds

Gradle's [continuous build feature](userguide/continuous_build.html) now works with [composite builds](userguide/composite_builds.html). Gradle will automatically detect changes to any input from any build and rebuild the appropriate pieces.

### CodeNarc plugin supports report format 'console'

The CodeNarc plugin now supports outputting reports directly to the console through the `console` report format.
```
codenarc {
reportFormat = 'console'
}
```

### APIs to define calculated task input and output locations

Expand All @@ -34,7 +52,7 @@ The following are the features that have been promoted in this Gradle release.
## Deprecations

Features that have become superseded or irrelevant due to the natural evolution of Gradle become *deprecated*, and scheduled to be removed
in the next major Gradle version (Gradle 4.0). See the User guide section on the “[Feature Lifecycle](userguide/feature_lifecycle.html)” for more information.
in the next major Gradle version (Gradle 5.0). See the User guide section on the “[Feature Lifecycle](userguide/feature_lifecycle.html)” for more information.

The following are the newly deprecated items in this Gradle release. If you have concerns about a deprecation, please raise it via the [Gradle Forums](https://discuss.gradle.org).

Expand All @@ -44,14 +62,21 @@ The following are the newly deprecated items in this Gradle release. If you have

## Potential breaking changes

<!--
### Example breaking change
-->
### Changes to handling of project dependencies from a project that does not use the Java plugin to a project that does

When a project that does not use the Java plugin has a project dependency on a project that uses the Java plugin, either directly or indirectly via another plugin, then the `runtimeElements` configuration of the target project will be selected. Previous versions of Gradle would select the `default` configuration in this case.

Previous versions of Gradle would select the `runtimeElements` when both projects are using the Java plugin.

This change makes the selection behaviour consistent so that the `runtimeElements` configuration is selected regardless of whether the consuming project uses the Java plugin or not. This is also consistent with the selection when the consuming project is using one of the Android plugins.

## External contributions

We would like to thank the following community members for making contributions to this release of Gradle.

- [Jörn Huxhorn](https://github.com/huxi) - Replace uses of `Stack` with `ArrayDeque` (#771)
- [Björn Kautler](https://github.com/Vampire) - Fix WTP component version (#2076)
- [Bo Zhang](https://github.com/blindpirate) - Add support for 'console' output type of CodeNarc plugin (#2170)
- [Bo Zhang](https://github.com/blindpirate) - Fix infinite loop when using `Path` for task property (#1973)
- [Marcin Zajączkowski](https://github.com/szpak) - Add @since tag to Project.findProperty()
- [Seth Jackson](https://github.com/sethjackson) - Fix the default daemon JVM args on Java 8
Expand Down

0 comments on commit 9d57378

Please sign in to comment.