File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,10 @@ buildscript {
1515 }
1616}
1717
18+ plugins {
19+ id ' com.vanniktech.maven.publish' version ' 0.34.0' apply false
20+ }
21+
1822allprojects {
1923 repositories {
2024 google()
@@ -26,3 +30,16 @@ allprojects {
2630 }
2731 }
2832}
33+
34+ subprojects {
35+ plugins. withId(' com.vanniktech.maven.publish' ) {
36+ def isJitpack = System . getenv(' JITPACK' ) == ' true'
37+ def isSnapshot = version. toString(). endsWith(' SNAPSHOT' )
38+
39+ mavenPublishing {
40+ if (! isJitpack && ! isSnapshot) {
41+ signAllPublications()
42+ }
43+ }
44+ }
45+ }
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ GROUP=com.tickaroo.tikxml
2323
2424mavenCentralPublishing =true
2525mavenCentralAutomaticPublishing =true
26- signAllPublications =false
2726
2827POM_DESCRIPTION =A modern XML API for Android and Java
2928POM_URL =https://github.com/Tickaroo/tikxml
You can’t perform that action at this time.
0 commit comments