gradle-git-publish

Gradle plugin for publishing to Git repositories

APACHE-2.0 License

Stars
94

Bot releases are hidden (Show)

gradle-git-publish - Latest Release

Published by ajoberstar 8 months ago

Small patch to update dependencies and fix a configuration cache issue.

Breaking Changes

None

Enhancements

None

Fixes

  • #108 Resolve deprecation in not using usesService
  • Update dependencies

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
11 7.0.2, 7.6.4, 8.0.2, 8.6
17 7.3.3, 7.6.4, 8.0.2, 8.6
21 8.4, 8.6
gradle-git-publish -

Published by ajoberstar about 1 year ago

Small patch to update dependencies.

Breaking Changes

None

Enhancements

None

Fixes

  • #107 Update dependencies

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
11 7.0.2, 7.6.1, 8.0.2, 8.4
17 7.3.3, 7.6.1, 8.0.2, 8.4
21 8.4
gradle-git-publish -

Published by ajoberstar over 1 year ago

Adds support for shallow clones, via the fetchDepth property on publications.

Breaking Changes

None

Enhancements

  • #57 Support shallow clones

Fixes

None

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
11 7.0.2, 7.6.1, 8.0.2, 8.1.1
17 7.3.3, 7.6.1, 8.0.2, 8.1.1
gradle-git-publish -

Published by ajoberstar about 2 years ago

A small release to fix a bug related to Gradle's stale output tracking. If your project's .gradle directory is missing (e.g. first build) Gradle would delete the publish repo dir (build/gitPublish/*) after the gitPublishCopy thinking it was stale. As a result the gitPublishCommit would fail due to a missing repo directory. We now inform Gradle that the copy task's state should not be tracked (the other tasks were already set up that way).

NOTE: The fix to #99 only works on Gradle 7.3+. I highly recommend not using lower versions of gradle.

Breaking Changes

None

Enhancements

None

Fixes

  • #99 No such file or directory during gitPublishCommit

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
11 7.0.2, 7.5.1
17 7.3.3, 7.5.1
gradle-git-publish -

Published by ajoberstar over 2 years ago

Breaking Changes

None

Enhancements

  • #86 Supports multiple git publications per project

Fixes

  • #82 Orphan branches now properly set tracking, improving up-to-date checks

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
11 7.0.2, 7.4
17 7.3.3, 7.4
None

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
11 7.0.2, 7.4
17 7.3.3, 7.4
gradle-git-publish -

Published by ajoberstar over 2 years ago

Breaking Changes

None

Enhancements

  • #86 Supports multiple git publications per project

Fixes

  • #82 Orphan branches now properly set tracking, improving up-to-date checks

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
11 7.0.2, 7.4
17 7.3.3, 7.4
None

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
11 7.0.2, 7.4
17 7.3.3, 7.4
gradle-git-publish -

Published by ajoberstar over 2 years ago

Breaking Changes

  • Upgrades to Grgit 5 (#85)
  • Drops support for Java 8 (due to Grgit upgrade)
  • Drops support for Gradle <7

Enhancements

  • Grgit instance now created via BuildService, (#60, #70)
  • Supports --configuration-cache (#93)

Fixes

None

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
11 7.0.2, 7.4
17 7.3.3, 7.4
gradle-git-publish -

Published by ajoberstar over 2 years ago

Breaking Changes

  • Upgrades to Grgit 5 (#85)
  • Drops support for Java 8 (due to Grgit upgrade)
  • Drops support for Gradle <7

Enhancements

  • Grgit instance now created via BuildService, (#60, #70)
  • Supports --configuration-cache (#93)

Fixes

None

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
11 7.0.2, 7.4
17 7.3.3, 7.4
gradle-git-publish -

Published by ajoberstar over 2 years ago

Starts publishing to Maven Central and drops publishing directly to Gradle plugin portal to really ensure POM references static versions. Since the plugin is published to Maven Central (which the Gradle plugin portal proxies), no changes should be needed from consumers.

Breaking Changes

None

Enhancements

None

Fixes

  • #97 Publishes POMs with static versions

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 5.0, 5.6.4, 6.0.1, 6.9.2, 7.0.2, 7.4
11 5.0, 5.6.4, 6.0.1, 6.9.2, 7.0.2, 7.4
17 7.3.3, 7.4
gradle-git-publish -

Published by ajoberstar about 4 years ago

Drops Gradle 4 support and allows for enabling/disabling GPG signing of commits. Also tests for compatibility against Java 15.

Breaking Changes

  • Drops Gradle 4 support

Enhancements

  • #78 Support opting out of GPG sign of commits

Fixes

None

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 5.0, 5.6.4, 6.0.1, 6.6.1, 6.7-rc-1
11 5.0, 5.6.4, 6.0.1, 6.6.1, 6.7-rc-1
15 6.3, 6.6.1, 6.7-rc-1
gradle-git-publish -

Published by ajoberstar almost 5 years ago

Drops Gradle 4 support and allows for enabling/disabling GPG signing of commits. Also tests for compatibility against Java 13.

Breaking Changes

  • Drops Gradle 4 support

Enhancements

  • #78 Support opting out of GPG sign of commits

Fixes

None

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 5.0, 5.6.4, 6.0.1, 6.1-rc-1
11 5.0, 5.6.4, 6.0.1, 6.1-rc-1
13 6.0.1, 6.1-rc-1
gradle-git-publish -

Published by ajoberstar almost 5 years ago

Recompiles with Java 8 to restore Java 8 compatibility, which was accidentally broken in 2.1.2.

Breaking Changes

None

Enhancements

None

Fixes

  • #77 Incompatible with Java 8

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.3, 4.10.3, 5.0, 5.6.4, 6.0.1, 6.1-milestone-1
11 5.0, 5.6.4, 6.0.1, 6.1-milestone-1
gradle-git-publish -

Published by ajoberstar almost 5 years ago

Recompiles with Java 8 to restore Java 8 compatibility, which was accidentally broken in 2.1.2.

Breaking Changes

None

Enhancements

None

Fixes

  • #77 Incompatible with Java 8

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.3, 4.10.3, 5.0, 5.6.4, 6.0.1, 6.1-milestone-1
11 5.0, 5.6.4, 6.0.1, 6.1-milestone-1
gradle-git-publish -

Published by ajoberstar almost 5 years ago

Updates dependencies, specifically the grgit dependency.

Breaking Changes

None

Enhancements

None

Fixes

  • Upgrade dependency on grgit to 4.0.0

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.3, 4.10.3, 5.0, 5.6.4, 6.0.1, 6.1-milestone-1
11 5.0, 5.6.4, 6.0.1, 6.1-milestone-1
gradle-git-publish -

Published by ajoberstar almost 5 years ago

Updates dependencies, specifically the grgit dependency.

Breaking Changes

None

Enhancements

None

Fixes

  • Upgrade dependency on grgit to 4.0.0

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.3, 4.10.3, 5.0, 5.6.4, 6.0.1, 6.1-milestone-1
11 5.0, 5.6.4, 6.0.1, 6.1-milestone-1
gradle-git-publish -

Published by ajoberstar over 5 years ago

Fix release to complete the fix for the deprecation warning for directoryProperty.

Breaking Changes

None

Enhancements

None

Fixes

  • #64 Avoid use of deprecated directoryProperty method (Thanks @marccphillip)

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.3, 4.10.3, 5.0, 5.3
11 5.0, 5.3
gradle-git-publish -

Published by ajoberstar over 5 years ago

Fix release to complete the fix for the deprecation warning for directoryProperty.

Breaking Changes

None

Enhancements

None

Fixes

  • #64 Avoid use of deprecated directoryProperty method (Thanks @marccphillip)

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.3, 4.10.3, 5.0, 5.3
11 5.0, 5.3
gradle-git-publish -

Published by ajoberstar over 5 years ago

This release includes a few new features, the main one being the support for fetching the initial commits for the gitPublish.branch from your local repo (if you use org.ajoberstar.grgit or manually configure gitPublish.referenceRepoUri) before fetching from the remote. This should reduce how many commits need to be pulled over the network.

Breaking Changes

None

Enhancements

  • #1 Fetch gitPublish.branch from the local repo first, if possible, before fetching from the remote.

Fixes

  • #64 Avoid use of deprecated directoryProperty method (Thanks @marccphillip)

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.3, 4.10.3, 5.0, 5.3
11 5.0, 5.3
gradle-git-publish -

Published by ajoberstar over 5 years ago

This release includes a few new features, the main one being the support for fetching the initial commits for the gitPublish.branch from your local repo (if you use org.ajoberstar.grgit or manually configure gitPublish.referenceRepoUri) before fetching from the remote. This should reduce how many commits need to be pulled over the network.

Breaking Changes

None

Enhancements

  • #1 Fetch gitPublish.branch from the local repo first, if possible, before fetching from the remote.

Fixes

  • #64 Avoid use of deprecated directoryProperty method (Thanks @marccphillip)

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.3, 4.10.3, 5.0, 5.3
11 5.0, 5.3
gradle-git-publish -

Published by ajoberstar almost 6 years ago

This release upgrades to grgit 3. Other than grgit's breaking changes, nothing has changed in this plugin.

Breaking Changes

  • #58 Upgraded to grgit 3 to fix incompatibility with Groovy 2.5 / Gradle 5.

Enhancements

None

Fixes

None

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.3, 4.10.2
9 4.3, 4.10.2
10 4.3, 4.10.2
Package Rankings
Top 26.78% on Repo1.maven.org
Badges
Extracted from project README
CI