Skip to content

Releases: ajoberstar/gradle-git-publish

0.4.0

21 Apr 14:56
Compare
Choose a tag to compare

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

21 Apr 03:15
Compare
Choose a tag to compare
0.4.0-rc.3 Pre-release
Pre-release

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

21 Apr 01:43
Compare
Choose a tag to compare
0.4.0-rc.1 Pre-release
Pre-release

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

20 Apr 04:19
0ea4e99
Compare
Choose a tag to compare
0.4.0-beta.1 Pre-release
Pre-release

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

25 Feb 19:04
Compare
Choose a tag to compare

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

22 Oct 15:40
Compare
Choose a tag to compare

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 or gitPublishCommit 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

21 Oct 19:59
Compare
Choose a tag to compare
0.3.2-rc.2 Pre-release
Pre-release

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 or gitPublishCommit 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

0.3.2-rc.1

20 Oct 03:56
Compare
Choose a tag to compare
0.3.2-rc.1 Pre-release
Pre-release

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 or gitPublishCommit 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

0.3.1

13 Oct 01:21
Compare
Choose a tag to compare

This is a fix release

Breaking Changes

None

Enhancements

None

Fixes

  • #37 Plugin didn't respect repoDir property on extension
  • #32 Deprecation warning for dependsOnTaskDidWork()

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

0.3.0

06 Aug 16:11
Compare
Choose a tag to compare

This release is focused on Grgit 2 compatibility.

Breaking Changes

  • Updated dependency on org.ajoberstar:grgit to 2.0.0
  • Removed the gitPublishClose task. The repo is now closed via a build listener.

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