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 {
5
5
`java- library`
6
6
`maven- publish`
7
7
jacoco
8
+ signing
8
9
id(" org.sonarqube" ) version " 4.4.1.3373"
9
10
id(" org.cadixdev.licenser" ) version " 0.6.1"
10
11
id(" me.qoomon.git-versioning" ) version " 6.4.3"
@@ -122,6 +123,15 @@ license {
122
123
exclude(" **/*.xml" )
123
124
}
124
125
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
+
125
135
publishing {
126
136
repositories {
127
137
maven {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments