We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc467b0 commit 81855d5Copy full SHA for 81855d5
1 file changed
build.gradle
@@ -2,6 +2,7 @@ plugins {
2
id 'java-library'
3
id 'maven-publish'
4
id 'signing'
5
+ id "io.github.gradle-nexus.publish-plugin" version "1.1.0"
6
}
7
8
group = 'org.cryptimeleon'
@@ -149,15 +150,13 @@ publishing {
149
150
151
152
153
+}
154
+
155
+nexusPublishing {
156
repositories {
- maven {
- credentials {
- username = System.getenv("OSSRH_USERNAME")
- password = System.getenv("OSSRH_TOKEN")
157
- }
158
- name = 'OSSRH'
159
- def releasesRepoUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
160
- url = version.endsWith('SNAPSHOT') ? '' : releasesRepoUrl
+ sonatype {
+ username = System.getenv("OSSRH_USERNAME")
+ password = System.getenv("OSSRH_TOKEN")
161
162
163
0 commit comments