File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed
Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ plugins {
1212 kotlin(" plugin.serialization" ) version " 2.0.10"
1313}
1414
15- group = " de.thecommcraft "
15+ group = " org.scratchapi "
1616version = (System .getenv(" GITHUB_REF_NAME" )?.removePrefix(" v" )
17- ? : " 0.0.1a2 " )
17+ ? : " 0.0.1a3 " )
1818
1919java {
2020 withJavadocJar()
@@ -82,12 +82,16 @@ publishing {
8282}
8383
8484signing {
85- System .getenv(" GPG_PRIVATE_KEY" )?.let {
86- useInMemoryPgpKeys(
87- System .getenv(" GPG_PRIVATE_KEY" ),
88- System .getenv(" GPG_PASSPHRASE" )
89- )
90- } ? : useGpgCmd()
85+ if (System .getenv(" USE_PGP_CMD_FOR_SCRATCH_DSL" ) == " true" ) {
86+ useGpgCmd()
87+ } else {
88+ System .getenv(" GPG_PRIVATE_KEY" )?.let {
89+ useInMemoryPgpKeys(
90+ System .getenv(" GPG_PRIVATE_KEY" ),
91+ System .getenv(" GPG_PASSPHRASE" )
92+ )
93+ } ? : useGpgCmd()
94+ }
9195 sign(publishing.publications[" mavenJava" ])
9296}
9397
You can’t perform that action at this time.
0 commit comments