Releases: JavierSegoviaCordoba/semver-gradle-plugin
Releases · JavierSegoviaCordoba/semver-gradle-plugin
0.2.0-alpha.2
Fixed
- high configuration time
semverCreateTag
does not belong to thesemver
groupsemverPushTag
does not create the tag
0.2.0-alpha.1
⚠️ 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 aLazyVersion
, to get the string usetoString
method.createSemverTag
name tosemverCreateTag
.pushSemverTag
name tosemverPushTag
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 propertytagPrefix
in
the semver plugin extension.
Added
semverPrint
task which prints the version and generates thebuild/semver/version.txt
.semver
plugin extension which hastagPrefix
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
0.1.0-alpha.10
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
0.1.0-alpha.9
Fixed
- pushing two tags at same time crashes
Updated
com.javiersc.gradle-plugins:all-plugins -> 0.1.0-rc.24
0.1.0-alpha.8
Fixed
semver.checkClean
Updated
io.kotest:kotest-assertions-core -> 5.0.2
0.1.0-alpha.7
Added
semver.checkClean
Gradle property to allow versions without timestamp on dirty repositoriespushSemverTag
can set a specific remote viasemver.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
0.1.0-alpha.6
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
0.1.0-alpha.5
Added
- Java 8 support
Updated
com.javiersc.gradle-plugins:all-plugins -> 0.1.0-rc.17
0.1.0-alpha.4
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
0.1.0-alpha.1
- Initial release