0.4.0
A breaking release to address an issue with task dependencies, particularly implicit dependencies from adding to the gitPublish.contents
CopySpec
. All tasks were rewritten as concrete task classes, instead of declaring ad-hoc ones. This involved using Gradle's new-ish Provider API, raising the minimum Gradle version to 4.3.
For users upgrading from <0.4.0, the use of Property
on the extension removes the ability to assign GString transparently. This is due to gradle/gradle#3005.
gitPublish {
// This will no longer work
commitMessage = "Deploy docs to gh-pages (${grgit.head().abbreviatedId})"
// Must change to this
commitMessage = "Deploy docs to gh-pages (${grgit.head().abbreviatedId})".toString()
}
Breaking Changes
- Requires Gradle 4.3+ due to use of Provider API for lazy configuration of rewritten task classes
Enhancements
- Update from grgit 2.1.1 to 2.2.0
Fixes
- #41 gitPublishCopy doesn't have implicit dependencies on inputs of gitPublish.contents anymore
Deprecations
None
Compatibility
Tested on the following version:
Java Version | Gradle Versions |
---|---|
8 | 4.3 through 4.7 |
9 | 4.3 through 4.7 |
10 | 4.3 through 4.7 |