Skip to content

Commit

Permalink
Increment version to 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
oehme committed Aug 29, 2016
1 parent 317cc68 commit 19b7deb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 92 deletions.
97 changes: 6 additions & 91 deletions subprojects/docs/src/docs/release/notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,6 @@ Add-->
### Example new and noteworthy
-->

### Faster dependency resolution

TBD: faster for large dependency graphs
TBD: faster for dependencies from Maven repositories
TBD: faster for Android builds

### Incremental build improvements

#### Tracking changes in the order of input files

Gradle now recognizes changes in the order of files for classpath properties as a reason to mark a task like `JavaCompile` out-of-date. The new `@OrderSensitive` annotation can be used on task input properties to turn this feature on in custom tasks.

### Sync can preserve files

With the [Sync](dsl/org.gradle.api.tasks.Sync.html) task it is now possible to preserve files that already exist in the destination directory.

task sync(type: Sync) {
from 'source'
into 'dest'
preserve {
include 'extraDir/**'
include 'dir1/**'
exclude 'dir1/extra.txt'
}
}

## Promoted features

Promoted features are features that were incubating in previous versions of Gradle but are now supported and subject to backwards compatibility.
Expand All @@ -62,76 +36,17 @@ The following are the newly deprecated items in this Gradle release. If you have

## Potential breaking changes

### Ivy Publish plugin takes into account `transitive` attribute declared for dependencies when generating metadata

Previous versions of Gradle did no reflect `transitive="false"` for a dependency in the generated metadata if the `transitive` attribute was set to `false`. To illustrate the change
in behavior, let's assume the following dependency declaration.

dependencies {
compile "commons-dbcp:commons-dbcp:1.4", {
transitive = false
}
}

The generated `ivy.xml` will now properly reflect that the given dependency should not resolve any of its transitive dependencies.

<dependencies>
<dependency org="commons-dbcp" name="commons-dbcp" rev="1.4" conf="runtime-&gt;default" transitive="false" />
</dependencies>

Projects consuming published artifacts generated by the Ivy Publish plugin might experience a different dependency graph than observed with earlier versions of Gradle.

### Maven plugin takes into account `exclude` attributes `group` and `module` for dependencies when generating metadata

Previous versions of Gradle did not add exclusions for dependencies in the generated metadata that either use the attribute `group` _or_ `module`. The following dependency declaration
demonstrates those use cases.

dependencies {
compile('org.apache.camel:camel-jackson:2.15.3') {
exclude group: 'org.apache.camel'
}
compile('commons-beanutils:commons-beanutils:1.8.3') {
exclude module: 'commons-logging'
}
}

The generated `pom.xml` will now properly reflect the exclusions in the generated metadata. Projects consuming published artifacts generated by the Maven plugin might
experience a different dependency graph than observed with earlier versions of Gradle.

### JNA library has been removed from Gradle distribution

We do not need [JNA](https://github.com/java-native-access/jna) anymore so we removed this library from
the Gradle distribution. Plugin authors relying on the library being present now need to ship their own.

### Dependency resolution changes when a Maven module dependency is substituted with a Gradle project dependency

TBD: Previously, the result would include dependencies and artifacts from all configurations of the target project, such as test compilation and runtime dependencies.
TBD: Previously, when the target project did not have a 'runtime', 'compile' or 'master' configuration, the result would include all dependencies and artifacts from all configurations of the target project. When 'runtime' or 'compile' is not defined the 'default' configuration is used instead. A missing 'master' configuration is ignored.

### Dependency resolution changes when a Maven module depends on an Ivy module

TBD: Previously, when the target Ivy module did not define a 'runtime', 'compile' or 'master' configuration, the result would include all dependencies and artifacts from all configurations of the Ivy module. When 'runtime' or 'compile' is not defined the 'default' configuration is used instead. A missing 'master' configuration is ignored.

### Dependency resolution result changes

TBD: As a result of performance improvements, the result includes fewer `ResolvedDependency` nodes, as some nodes are merged. Previous versions of Gradle would include a `compile`, `runtime` and `master` node for transitive Maven dependencies. Gradle now includes a single `runtime` node. The same modules and artifacts are included in the result, and in the same order.
<!--
### Example breaking change
-->

## External contributions

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

- [Emmanuel Bourg](https://github.com/ebourg) - Fixed usage of deprecated constructor in signing module
- [Greg Bowyer](https://github.com/GregBowyer) - Initial support for play 2.5.x
- [Mohan Kornipati](https://github.com/mkornipati) - Publishing with the legacy Ivy support doesn't add excludes to generated metadata (GRADLE-3440)
- [Thomas Broyer](https://github.com/tbroyer) - Updating spec about annotation processing.
- [Sebastian Schuberth](https://github.com/sschuberth) - Add an option to choose the distribution type for the `Wrapper` task.
- [Sebastian Schuberth](https://github.com/sschuberth) - Fix file path to be Windows 10-compatible for Gradle build
- [Sebastian Schuberth](https://github.com/sschuberth) - Update jansi to 1.13
- [Martin Mosegaard Amdisen](https://github.com/martinmosegaard) - Checkstyle should not output XML report when only the HTML report is enabled (GRADLE-3490)
- [Stefan Neuhaus](https://github.com/stefanneuhaus) - Copy task: filesMatching and filesNotMatching should support multiple patterns
- [Johnny Lim](https://github.com/izeye) - Fix typos in documentation for Maven Publishing plugin
- [Vladislav Bauer](https://github.com/vbauer) - Update Gson library from 2.2.4 to 2.7
- [Valdis Rigdon](https://github.com/valdisrigdon) - Support for preserving files in the destination dir for Sync task
<!--
- [Some person](https://github.com/some-person) - fixed some issue (GRADLE-1234)
-->

We love getting contributions from the Gradle community. For information on contributing, please see [gradle.org/contribute](https://gradle.org/contribute).

Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1
3.2

0 comments on commit 19b7deb

Please sign in to comment.