Skip to content

Commit d414bcd

Browse files
authored
Merge pull request #435 from shestee/main
2 parents d90ced6 + e2b455b commit d414bcd

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

build.gradle

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,22 @@ buildscript {
55
}
66
dependencies {
77
classpath "org.shipkit:shipkit-changelog:1.1.13"
8-
classpath "pl.allegro.tech.build:axion-release-plugin:1.13.0"
8+
classpath "org.shipkit:shipkit-auto-version:1.1.14"
99
classpath "io.github.gradle-nexus:publish-plugin:1.0.0"
1010
}
1111
}
1212

1313
apply plugin: "io.github.gradle-nexus.publish-plugin"
14+
apply plugin: 'org.shipkit.shipkit-auto-version'
1415
apply plugin: "org.shipkit.shipkit-changelog"
1516
apply plugin: "org.shipkit.shipkit-github-release"
16-
apply plugin: "pl.allegro.tech.build.axion-release"
17-
18-
scmVersion {
19-
tag {
20-
prefix = ''
21-
}
22-
}
2317

2418
allprojects {
2519
group = 'org.mockito.kotlin'
26-
version = scmVersion.version
2720
}
2821

29-
println "Building version $version"
30-
3122
tasks.named("generateChangelog") {
32-
previousRevision = scmVersion.previousVersion
23+
previousRevision = project.ext.'shipkit-auto-version.previous-version'
3324
githubToken = System.getenv("GITHUB_TOKEN")
3425
repository = "mockito/mockito-kotlin"
3526
releaseTag = project.version

version.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tagPrefix=

0 commit comments

Comments
 (0)