File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 1
1
To publish a release:
2
2
3
3
- Tag the commit on master: ` git tag -a x.x.x -m x.x.x && git push --tags `
4
- - Execute the release process: ` ./gradlew clean test mavenCentralSync -PisRelease=true `
4
+ - Execute the release process: ` ./gradlew clean test bintraySign mavenCentralSync -PisRelease=true `
5
5
- Don't forget to publish the tag on Github with release notes :)
Original file line number Diff line number Diff line change @@ -37,6 +37,27 @@ publishing {
37
37
artifact sourceJar {
38
38
classifier " sources"
39
39
}
40
+
41
+ artifact javadocJar
42
+
43
+ pom. withXml {
44
+ def root = asNode()
45
+ root. appendNode(' name' , ' Mockito-Kotlin' )
46
+ root. appendNode(' description' , ' Using Mockito with Kotlin.' )
47
+ root. appendNode(' url' , ' https://github.com/nhaarman/mockito-kotlin' )
48
+
49
+ def scm = root. appendNode(' scm' )
50
+ scm. appendNode(' url' , ' scm:git@github.com:nhaarman/mockito-kotlin.git' )
51
+
52
+ def licenses = root. appendNode(' licenses' )
53
+ def mitLicense = licenses. appendNode(' license' )
54
+ mitLicense. appendNode(' name' , ' MIT' )
55
+
56
+ def developers = root. appendNode(' developers' )
57
+ def nhaarman = developers. appendNode(' developer' )
58
+ nhaarman. appendNode(' id' , ' nhaarman' )
59
+ nhaarman. appendNode(' name' , ' Niek Haarman' )
60
+ }
40
61
}
41
62
}
42
63
}
You can’t perform that action at this time.
0 commit comments