semver-gradle-plugin

Set projects versions based on git tags and following semantic versioning

OTHER License

Stars
25

Bot releases are visible (Hide)

semver-gradle-plugin - 0.2.0-alpha.2

Published by github-actions[bot] over 2 years ago

Fixed

  • high configuration time
  • semverCreateTag does not belong to the semver group
  • semverPushTag does not create the tag
semver-gradle-plugin - 0.2.0-alpha.1

Published by github-actions[bot] over 2 years ago

⚠️ THIS VERSION IS A BIG REFACTOR, CHECK ALL CHANGES THOROUGHLY ⚠️

In order to support configuration cache and project isolation, the library has been refactored a lot

The README and samples have been updated.

Sorry for the inconvenience.

Changed

  • the plugin must be applied individually to each project instead of only in the root project.
  • project.version is now a LazyVersion, to get the string use toString method.
  • createSemverTag name to semverCreateTag.
  • pushSemverTag name to semverPushTag and now it only pushes the tag.
  • semver.tagPrefix is no longer used to indicate a project version. Now it is used to filter which
    projects are going to bump the version based on it and the value in the property tagPrefix in
    the semver plugin extension.

Added

  • semverPrint task which prints the version and generates the build/semver/version.txt.
  • semver plugin extension which has tagPrefix to indicate the project tag prefix.
  • configuration cache support
  • project isolation support

Removed

  • applying the plugin to the root project only configures the root project and not all projects.
  • build/semver/version.txt is no longer generated in configuration phase.
  • the old way to change the version in multi-project builds (-PprojectName:semver.scope=patch").

Updated

  • org.jetbrains.kotlinx:binary-compatibility-validator -> 0.10.1
  • org.eclipse.jgit:org.eclipse.jgit -> 6.2.0.202206071550-r
  • com.javiersc.kotlin:kotlin-stdlib -> 0.1.0-alpha.5
  • org.jetbrains.kotlinx:kotlinx-coroutines-core -> 1.6.2
  • com.javiersc.gradle-plugins:all-plugins -> 0.1.0-rc.43
  • io.kotest:kotest-assertions-core -> 5.3.0
  • org.jetbrains.kotlin:kotlin-gradle-plugin -> 1.6.21
  • gradle -> 7.4.2
semver-gradle-plugin - 0.1.0-alpha.10

Published by github-actions[bot] almost 3 years ago

Fixed

  • crash when the project has no commits

Updated

  • com.javiersc.semver:semver-core -> 0.1.0-beta.10
  • gradle -> 7.3.2
  • org.jetbrains.kotlin:kotlin-gradle-plugin -> 1.6.10
semver-gradle-plugin - 0.1.0-alpha.9

Published by github-actions[bot] almost 3 years ago

Fixed

  • pushing two tags at same time crashes

Updated

  • com.javiersc.gradle-plugins:all-plugins -> 0.1.0-rc.24
semver-gradle-plugin - 0.1.0-alpha.8

Published by github-actions[bot] almost 3 years ago

Fixed

  • semver.checkClean

Updated

  • io.kotest:kotest-assertions-core -> 5.0.2
semver-gradle-plugin - 0.1.0-alpha.7

Published by github-actions[bot] almost 3 years ago

Added

  • semver.checkClean Gradle property to allow versions without timestamp on dirty repositories
  • pushSemverTag can set a specific remote via semver.remote Gradle property

Fixed

  • pushSemverTag
  • project can't sync if it is not a git repository

Updated

  • com.javiersc.gradle-plugins:all-plugins -> 0.1.0-rc.22
  • gradle -> 7.3.1
semver-gradle-plugin - 0.1.0-alpha.6

Published by github-actions[bot] almost 3 years ago

Updated

  • io.kotest:kotest-assertions-core -> 5.0.1
  • com.javiersc.gradle-plugins:all-plugins -> 0.1.0-rc.19
  • com.javiersc.semver:semver-core -> 0.1.0-beta.8
  • com.javiersc.kotlin:kotlin-stdlib -> 0.1.0-alpha.3
  • org.eclipse.jgit:org.eclipse.jgit -> 6.0.0.202111291000-r
semver-gradle-plugin - 0.1.0-alpha.5

Published by github-actions[bot] almost 3 years ago

Added

  • Java 8 support

Updated

  • com.javiersc.gradle-plugins:all-plugins -> 0.1.0-rc.17
semver-gradle-plugin - 0.1.0-alpha.4

Published by github-actions[bot] almost 3 years ago

Fixed

  • getting all tags instead of only version tags
  • calculated version

Updated

  • io.kotest:kotest-assertions-core -> 5.0.0
  • com.javiersc.gradle-plugins:all-plugins -> 0.1.0-rc.12
semver-gradle-plugin - 0.1.0-alpha.1

Published by JavierSegoviaCordoba almost 3 years ago

  • Initial release
Package Rankings
Top 27.2% on Repo1.maven.org
Badges
Extracted from project README
MavenCentral Snapshot Build Coverage Quality Tech debt