Skip to content

Releases: ajoberstar/gradle-git-publish

1.0.0-rc.1

28 May 22:16
60f6192
Compare
Choose a tag to compare
1.0.0-rc.1 Pre-release
Pre-release

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

25 Apr 23:59
ecc7e50
Compare
Choose a tag to compare

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

25 Apr 23:57
ecc7e50
Compare
Choose a tag to compare
0.4.1-rc.1 Pre-release
Pre-release

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

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