Releases: ajoberstar/gradle-git-publish
1.0.0-rc.1
With the changes in 0.4.0 not resulting in any major issues reported, gradle-git-publish can now move to 1.0.0.
This change only includes a minor performance fix since 0.4.1.
Breaking Changes
None
Enhancements
None
Fixes
- #46 Internal Grgit provider is now memoized, avoiding reopening or re-cloning the Git repo
Deprecations
None
Compatibility
Tested on the following version:
Java Version | Gradle Versions |
---|---|
8 | 4.3 through 4.8-rc-2 |
9 | 4.3 through 4.8-rc-2 |
10 | 4.3 through 4.8-rc-2 |
0.4.1
A small fix release to restore a default to its pre-0.4.0 value.
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
None
Enhancements
None
Fixes
- #47 Default commit message didn't match documentation
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 |
0.4.1-rc.1
A small fix release to restore a default to its pre-0.4.0 value.
Breaking Changes
None
Enhancements
None
Fixes
- #47 Default commit message didn't match documentation
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 |
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 |
0.4.0-rc.3
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.
Changes since rc.1 Converted remaining plugin code to Java and use of Provider API for lazy configuration.
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 |
0.4.0-rc.1
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.
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 |
0.4.0-beta.1
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.
Breaking Changes
- Requires Gradle 4.3+ due to use of Provider API for lazy configuration of rewritten task classes
Enhancements
None
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 |
0.3.3
This release bumps dependencies.
Breaking Changes
None
Enhancements
None
Fixes
None
Deprecations
None
Compatibility
Java: requires 8 or higher
Gradle: tested against 3.0, 3.1, 3.2, 3.2.1. 3.3, 3.4, 3.5, 3.5.1, 4.0, 4.0.1, 4.0.2, 4.1, 4.2, 4.2.1, 4.3, 4.3.1, 4.4, 4.4.1, 4.5, 4.5.1
Known Issues
- #41 gitPublishCopy doesn't have implicit dependencies on inputs of gitPublish.contents anymore
0.3.2
This is a fix release to address some new behavior in Gradle 4.2 that highlighted some misconfigured task outputs.
Breaking Changes
None
Enhancements
None
Fixes
- #35 Failures during
gitPublishCopy
orgitPublishCommit
in Gradle 4.2
Deprecations
None
Compatibility
Java: requires 8 or higher
Gradle: tested against 3.0, 3.1, 3.2, 3.2.1. 3.3, 3.4, 3.5, 3.5.1, 4.0, 4.0.1, 4.0.2, 4.1, 4.2
Known Issues
- #41 gitPublishCopy doesn't have implicit dependencies on inputs of gitPublish.contents anymore
0.3.2-rc.2
This is a fix release to address some new behavior in Gradle 4.2 that highlighted some misconfigured task outputs.
Breaking Changes
None
Enhancements
None
Fixes
- #35 Failures during
gitPublishCopy
orgitPublishCommit
in Gradle 4.2
Deprecations
None
Compatibility
Java: requires 8 or higher
Gradle: tested against 3.0, 3.1, 3.2, 3.2.1. 3.3, 3.4, 3.5, 3.5.1, 4.0, 4.0.1, 4.0.2, 4.1, 4.2