Skip to content

Commit

Permalink
disabled signing and nexus-publishing
Browse files Browse the repository at this point in the history
Signed-off-by: Talha Ali <Talhaali00@gmail.com>
  • Loading branch information
Talhaali00 committed Apr 11, 2024
1 parent 3521004 commit 4b37811
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions gradle/publish/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apply plugin: 'maven-publish'
apply plugin: 'signing'
apply plugin: "de.marcphilipp.nexus-publish"
//apply plugin: 'signing'
//apply plugin: "de.marcphilipp.nexus-publish"

task javadocsJar(type: Jar) {
archiveClassifier = 'javadoc'
Expand Down Expand Up @@ -65,27 +65,27 @@ publishing {
}
}

nexusPublishing {
repositories {
sonatype {
username = System.getenv('OSSRH_USERNAME')
password = System.getenv('OSSRH_PASSWORD')
}
}
}


nexusStaging {
username System.getenv('OSSRH_USERNAME')
password System.getenv('OSSRH_PASSWORD')
packageGroup = rootProject.group
}


signing {
sign publishing.publications.maven
def signingKey = new File("$rootDir/web3j.asc")
if (signingKey.exists()) {
useInMemoryPgpKeys(signingKey.getText('UTF-8'), System.getenv('GPG_PASSPHRASE'))
}
}
//nexusPublishing {
// repositories {
// sonatype {
// username = System.getenv('OSSRH_USERNAME')
// password = System.getenv('OSSRH_PASSWORD')
// }
// }
//}


//nexusStaging {
// username System.getenv('OSSRH_USERNAME')
// password System.getenv('OSSRH_PASSWORD')
// packageGroup = rootProject.group
//}


//signing {
// sign publishing.publications.maven
// def signingKey = new File("$rootDir/web3j.asc")
// if (signingKey.exists()) {
// useInMemoryPgpKeys(signingKey.getText('UTF-8'), System.getenv('GPG_PASSPHRASE'))
// }
//}

0 comments on commit 4b37811

Please sign in to comment.