Trying to fix Gradle stuff

This commit is contained in:
Marcin Grzejszczak
2019-09-10 18:28:13 +02:00
parent efac97ab5a
commit b21e1e1028
2 changed files with 3 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
apply plugin: 'maven'
apply plugin: 'signing'
//apply plugin: 'signing'
uploadArchives.dependsOn { [check] }
@@ -53,12 +53,9 @@ ext {
}
if (isReleaseToCentral) {
signing {
def signingKey = findProperty("signingKey")
def signingPassword = findProperty("signingPassword")
useInMemoryPgpKeys(signingKey, signingPassword)
/*signing {
sign configurations.archives
}
}*/
apply plugin: 'com.gradle.plugin-publish'

View File

@@ -222,10 +222,6 @@
<argument>build</argument>
<argument>-PverifierVersion=${project.version}</argument>
<argument>-Pcentral</argument>
<argument>-PsonatypeUsername=${env.SONATYPE_USER}</argument>
<argument>-PsonatypePassword=${env.SONATYPE_PASSWORD}</argument>
<argument>-PsigningKey=${env.FOO_SEC}</argument>
<argument>-PsigningPassword=${env.FOO_PASSPHRASE}</argument>
<argument>publishPlugins</argument>
</arguments>
</configuration>