File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -117,19 +117,14 @@ signing {
117117 def envKeyId = System . getenv(' SIGNING_KEY_ID' )
118118 if (envKeyId && envKeyId. trim()) {
119119 project. ext. set(' signing.keyId' , envKeyId. trim())
120- logger. lifecycle(" [Signing Debug] Applied signing.keyId from SIGNING_KEY_ID env var" )
121- } else {
122- logger. lifecycle(" [Signing Debug] No SIGNING_KEY_ID env var found" )
123120 }
124121 }
125122 def ringFileProp = findProperty(' signing.secretKeyRingFile' )
126123 def keyId = findProperty(' signing.keyId' )
127124 def passSet = project. hasProperty(' signing.password' )
128125 if (ringFileProp) {
129126 def f = file(ringFileProp)
130- logger. lifecycle(" [Signing Debug] secretKeyRingFile='${ f} ' exists=${ f.exists()} keyIdSet=${ keyId != null} passSet=${ passSet} " )
131127 } else {
132- logger. lifecycle(" [Signing Debug] secretKeyRingFile is NOT set. keyIdSet=${ keyId != null} passSet=${ passSet} " )
133128 }
134129 // Sign all publications to avoid configuration-time lookup issues
135130 sign publishing. publications
Original file line number Diff line number Diff line change @@ -108,19 +108,8 @@ signing {
108108 def envKeyId = System . getenv(' SIGNING_KEY_ID' )
109109 if (envKeyId && envKeyId. trim()) {
110110 project. ext. set(' signing.keyId' , envKeyId. trim())
111- logger. lifecycle(" [Signing Debug] Applied signing.keyId from SIGNING_KEY_ID env var" )
112- } else {
113- logger. lifecycle(" [Signing Debug] No SIGNING_KEY_ID env var found" )
114111 }
115112 }
116- def ringFileProp = findProperty(' signing.secretKeyRingFile' )
117- def keyId = findProperty(' signing.keyId' )
118- def passSet = project. hasProperty(' signing.password' )
119- if (ringFileProp) {
120- def f = file(ringFileProp)
121- logger. lifecycle(" [Signing Debug] secretKeyRingFile='${ f} ' exists=${ f.exists()} keyIdSet=${ keyId != null} passSet=${ passSet} " )
122- } else {
123- logger. lifecycle(" [Signing Debug] secretKeyRingFile is NOT set. keyIdSet=${ keyId != null} passSet=${ passSet} " )
124- }
113+
125114 sign publishing. publications. mavenJava
126115}
Original file line number Diff line number Diff line change @@ -120,19 +120,8 @@ signing {
120120 def envKeyId = System . getenv(' SIGNING_KEY_ID' )
121121 if (envKeyId && envKeyId. trim()) {
122122 project. ext. set(' signing.keyId' , envKeyId. trim())
123- logger. lifecycle(" [Signing Debug] Applied signing.keyId from SIGNING_KEY_ID env var" )
124- } else {
125- logger. lifecycle(" [Signing Debug] No SIGNING_KEY_ID env var found" )
126123 }
127124 }
128- def ringFileProp = findProperty(' signing.secretKeyRingFile' )
129- def keyId = findProperty(' signing.keyId' )
130- def passSet = project. hasProperty(' signing.password' )
131- if (ringFileProp) {
132- def f = file(ringFileProp)
133- logger. lifecycle(" [Signing Debug] secretKeyRingFile='${ f} ' exists=${ f.exists()} keyIdSet=${ keyId != null} passSet=${ passSet} " )
134- } else {
135- logger. lifecycle(" [Signing Debug] secretKeyRingFile is NOT set. keyIdSet=${ keyId != null} passSet=${ passSet} " )
136- }
125+
137126 sign publishing. publications. mavenJava
138127}
You can’t perform that action at this time.
0 commit comments