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
+
1
12
plugins {
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"
5
13
id " io.github.gradle-nexus.publish-plugin" version " 1.0.0"
6
14
}
7
15
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
+
9
20
group = ' org.mockito.kotlin'
10
21
11
22
tasks. named(" generateChangelog" ) {
12
23
previousRevision = project. ext. ' shipkit-auto-version.previous-tag'
13
24
githubToken = System . getenv(" GITHUB_TOKEN" )
14
25
repository = " mockito/mockito-kotlin"
26
+ releaseTag = project. version
15
27
}
16
28
17
29
tasks. named(" githubRelease" ) {
@@ -21,6 +33,7 @@ tasks.named("githubRelease") {
21
33
changelog = genTask. outputFile
22
34
githubToken = System . getenv(" GITHUB_TOKEN" )
23
35
newTagRevision = System . getenv(" GITHUB_SHA" )
36
+ releaseTag = project. version
24
37
}
25
38
26
39
nexusPublishing {
Original file line number Diff line number Diff line change 1
1
# Version of the produced binaries.
2
2
# 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