File tree Expand file tree Collapse file tree 2 files changed +19
-5
lines changed
Expand file tree Collapse file tree 2 files changed +19
-5
lines changed Original file line number Diff line number Diff line change 1+ buildscript {
2+ repositories {
3+ mavenLocal() // for local testing
4+ maven { url " https://plugins.gradle.org/m2/" }
5+ }
6+ dependencies {
7+ classpath " org.shipkit:shipkit-changelog:1.+"
8+ classpath " org.shipkit:shipkit-auto-version:1.+"
9+ }
10+ }
11+
112plugins {
2- id " org.shipkit.shipkit-auto-version" version " 1.1.1"
3- id " org.shipkit.shipkit-changelog" version " 1.1.10"
4- id " org.shipkit.shipkit-github-release" version " 1.1.10"
513 id " io.github.gradle-nexus.publish-plugin" version " 1.0.0"
614}
715
8- // TODO: change java packages to "org.mockito.kotlin"
16+ apply plugin : " org.shipkit.shipkit-auto-version"
17+ apply plugin : " org.shipkit.shipkit-changelog"
18+ apply plugin : " org.shipkit.shipkit-github-release"
19+
920group = ' org.mockito.kotlin'
1021
1122tasks. named(" generateChangelog" ) {
1223 previousRevision = project. ext. ' shipkit-auto-version.previous-tag'
1324 githubToken = System . getenv(" GITHUB_TOKEN" )
1425 repository = " mockito/mockito-kotlin"
26+ releaseTag = project. version
1527}
1628
1729tasks. named(" githubRelease" ) {
@@ -21,6 +33,7 @@ tasks.named("githubRelease") {
2133 changelog = genTask. outputFile
2234 githubToken = System . getenv(" GITHUB_TOKEN" )
2335 newTagRevision = System . getenv(" GITHUB_SHA" )
36+ releaseTag = project. version
2437}
2538
2639nexusPublishing {
Original file line number Diff line number Diff line change 11# Version of the produced binaries.
22# The version is inferred by shipkit-auto-version Gradle plugin (https://github.com/shipkit/shipkit-auto-version)
3- version =2.3.0
3+ version =2.2.*
4+ tagPrefix =
You can’t perform that action at this time.
0 commit comments