File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ plugins {
1919 id ' io.codearte.nexus-staging' version ' 0.22.0' // can only be applied to root project
2020}
2121
22+ nexusStaging {
23+ username = " $System . env . SONATYPE_NEXUS_USERNAME "
24+ password = " $System . env . SONATYPE_NEXUS_PASSWORD "
25+ }
2226
2327allprojects {
2428 group ' com.github.tschuchortdev'
@@ -47,6 +51,7 @@ allprojects {
4751 apply plugin : ' kotlin'
4852 apply plugin : ' java'
4953 apply plugin : ' idea'
54+ apply plugin : ' signing'
5055 apply plugin : ' maven-publish'
5156
5257 if (JavaVersion . current(). isJava8Compatible()) {
@@ -68,6 +73,7 @@ subprojects {
6873 archiveClassifier = ' javadoc'
6974 from javadoc. destinationDir
7075 }
76+
7177 publishing {
7278 publications {
7379 mavenJava(MavenPublication ) {
@@ -117,6 +123,10 @@ subprojects {
117123 }
118124 }
119125
126+ signing {
127+ sign publishing. publications. mavenJava
128+ }
129+
120130 dependencies {
121131 implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk8"
122132
You can’t perform that action at this time.
0 commit comments