- Projects that publish auxiliary publications through maven-publish
and ivy-publish can now be depended upon by other projects in the
same build.
- In addition to lazy tasks use, Kotlin DSL build scripts are
evaluated faster with version 0.18.4.
- You can now pass arguments to JavaExec tasks directly from the
command-line using --args.
- Improved dependency insight report.
- Dependency locking
- Improvements to publishing plugins:
- Signing Plugin now supports signing all artifacts of a publication
- Maven Publish Plugin now provides a dedicated, type-safe DSL to
customize the POM generated as part of a Maven publication
- Ivy Publish Plugin now provides a dedicated, type-safe DSL to
customize the Ivy module descriptor generated as part of an Ivy
publication
- Configuration-wide dependency excludes are now published
- The maven-publish and ivy-publish plugins are now considered stable
and use of the maven plugin is discouraged as it will eventually be
deprecated
- User experience for incremental annotation processing is improved.
- Compilation will no longer fail when a processor does something that
Gradle detects will not work incrementally
- Unused non-incremental processors no longer prevent incremental
compilation
- Annotation processors are now able to decide dynamically if they are
incremental or not
- Kotlin DSL 0.17.5
- Gradle's incremental Java compiler can now run annotation processing
incrementally.
- Support for Gradle builds with JDK 10
- Gradle log output is now grouped by task for non-interactive
execution.
- Failed tests now run first. Together with the --fail-fast option it
provides the quickest possible feedback loop.
- Incubating new capability for Kotlin DSL users: precompiled script
plugins.
- Kotlin DSL v0.16 also includes Kotlin 1.2.31, a more consistent API,
better IDE support, and more.
== Gradle 4.6
- JUnit 5 support
- Fail fast option for Test tasks
- Allow declared reasons for dependency and resolution rules
- Dependency constraints for transitive dependencies
- BOM import
- Support for optional dependencies in POM consumption
- Compile/runtime scope separation in POM consumption
- Customizable metadata file resolution
- Convenient declaration of annotation processor dependencies
- Tasks API allows custom command-line options
- Rich command-line arguments for Test, JavaExec or Exec tasks
- Logging options for debugging build caching
- Caching for Scala compilation when using the play plugin
- Improved Visual Studio IDE support for multi-project builds
- Improvements in gradle-native plugins
- Documentation updates
- Honour cache-expiry settings in the presence of detached
configurations
- Default JaCoCo version upgraded to 0.8.0
- Build cache and task output caching marked stable
- TestKit marked stable
- CompileOptions.annotationProcessorPath now stable
- Bugfixes
Release notes:
https://docs.gradle.org/4.6/release-notes.html
== Gradle 4.5.1
- Fixed regression in 4.5 where in some rare cases a dependency could
be imported into a different scope than the one declared
- Fixed problem where NullPointerException could be observed if the
parent build finished before the different composites
- Fixed regression in Eclipse project generation that could cause a
sub-project to be added as a dependency to itself
== Gradle 4.5
- C/C++ compilation improvements
- ANTLR task is now cacheable by default
- Documentation enhancements
- Signing artifacts with gpg-agent
- Reduced deprecation logging in console
- Init task can now generate Kotlin DSL build scripts
- New plugin APIs
- Default CodeNarc has been upgraded to 1.0
- Configure executable directory in distributions
- Arbitrary task property names
- Bugfixes
Release notes:
https://docs.gradle.org/4.5/release-notes.html
- We started shipping JGit 4.5.3.201708160445-r in Gradle 4.4. Some of
the non-shaded JGit resources leaked into the gradleApi() dependency
and caused problems in some builds. We now shade all of JGit's
resources.
- Some builds using Kotlin DSL had problems applying the build-scan
plugin in Gradle 4.4. We've updated to kotlin-dsl 0.13.2.
- Gradle 4.4 contained changes to internal APIs that broke the popular
Nebula dependency lock plugin. This release restores binary
compatibility for that plugin.
- Visual Studio 2017 is now supported.
- The eclipse plugin now provides separate output folders
- Kotlin DSL updated to version 0.13
- Support version ranges in parent elements of a POM
- Better incremental builds and build cache support for C/C++
- Support for the combination of Play 2.6 and Scala 2.12
- Takes all plugin repositories into account and can resolve
transitive plugin dependencies across them.
- Experimental build cache support for C and C++ compilation.
- Gradle Kotlin DSL v0.12
- You can now use the build scan plugin without configuring it in your
build.
- Gradle now defines connection and socket timeouts for all HTTP(S)
requests.
- The plugins {} DSL can now be used in more cases.
- The runtime task inputs API is now more consistent with the
statically-compiled API.
- New console verbose mode will print outcomes of all tasks like Gradle
3.5 and earlier did.
- New task output DirectoryProperty and RegularFileProperty types.
Significant changes:
- Parallel native compilation and linking tasks
- Faster zipTree and tarTree
- Better support for script plugins from HTTP/HTTPS URLs
- Support for Google Cloud Storage backed repositories
- Better Play support
- Features for easier plugin authoring
- UX improvements
- Safer handling of stale output files
- Connect to untrusted HTTPS build cache
See full release notes:
https://docs.gradle.org/4.2/release-notes.html
Notable changes follow.
Gradle 3.4
- Compile Avoidance. We've introduced a new mechanism for up-to-date
checking of Java compilation that is sensitive to public API changes
only.
- A stable incremental Java compiler.
- brand new Java Library Plugin. Use this when building a component
intended to be used as a dependency from another project.
- The JaCoCo plugin now allows you to enforce code coverage metrics and
fail the build if they're not met.
- The default version of JaCoCo used by the JaCoCo plugin has been
raised and the plugin is now Java 9-ready.
- The Checkstyle plugin now allows a maximum number of warnings or
errors to be configured.
https://docs.gradle.org/3.4/release-notes.html
Gradle 3.3
- This release of Gradle makes the gradle tasks report much faster for
medium-to-large projects.
- It is now possible to compile native applications using Visual Studio
2015.
- Kotlin build script support has further improved with significantly
faster startup performance, increased API parity with Groovy-based
build scripts, and better interoperability with Groovy plugins.
- Scala compilation startup time in large multi-project builds has been
improved through enhancements to Gradle's integration with the Zinc
Scala compiler.
- Tooling API generates more progress events.
- The Gradle GUI has been deprecated and will be removed in Gradle 4.0.
https://docs.gradle.org/3.3/release-notes.html
Gradle 3.2.1
- GRADLE-3582: Gradle wrapper fails to escape arguments with nested
quotes
- GRADLE-3583: Newlines in environment variables used by the wrapper
breaks application plugin shell script
Gradle 3.2
- Incremental build support, which now has better up-to-date checking
for Java compilation, copying, and archiving.
- The buildDependents task is now available in native builds as well via
new assembleDependents and buildDependents tasks.
- Significantly improved import times.
- Improved support for multi-project builds with Kotlin.
- The shortcut syntax for declaring tasks (via <<) has now been
deprecated.
https://docs.gradle.org/3.2/release-notes.html
Gradle 3.1
- Composite Builds for multi-project builds where not all projects are
in the same directory hierarchy.
- Incremental Build support.
- Faster dependency resolution.
- Build cancellation has improved when using the Daemon.
https://docs.gradle.org/3.1/release-notes.html
Gradle is a Java based build tool which allows creating
project build scripts using a domain-specific language
based on Groovy.
Packaged on pkgsrc-wip by asiekierka, thanks!