File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ plugins {
55 `java- library`
66 `maven- publish`
77 jacoco
8+ signing
89 id(" org.sonarqube" ) version " 4.4.1.3373"
910 id(" org.cadixdev.licenser" ) version " 0.6.1"
1011 id(" me.qoomon.git-versioning" ) version " 6.4.3"
@@ -122,6 +123,15 @@ license {
122123 exclude(" **/*.xml" )
123124}
124125
126+ signing {
127+ val signingInMemoryKey: String? by project // env.ORG_GRADLE_PROJECT_signingInMemoryKey
128+ val signingInMemoryPassword: String? by project // env.ORG_GRADLE_PROJECT_signingInMemoryPassword
129+ if (signingInMemoryKey != null ) {
130+ useInMemoryPgpKeys(signingInMemoryKey, signingInMemoryPassword)
131+ sign(publishing.publications)
132+ }
133+ }
134+
125135publishing {
126136 repositories {
127137 maven {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments