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 11To publish a release:
22
33 - 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 `
55 - 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 {
3737 artifact sourceJar {
3838 classifier " sources"
3939 }
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:[email protected] :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+ }
4061 }
4162 }
4263}
You can’t perform that action at this time.
0 commit comments