We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35eba73 commit 0293104Copy full SHA for 0293104
build.gradle
@@ -2,6 +2,7 @@ plugins {
2
id 'java'
3
id 'idea'
4
id 'maven-publish'
5
+ id "de.marcphilipp.nexus-publish" version "0.4.0"
6
id 'signing'
7
id 'com.github.sherter.google-java-format' version '0.7.1'
8
id 'io.codearte.nexus-staging' version '0.12.0'
@@ -204,6 +205,17 @@ publishing {
204
205
}
206
207
208
+
209
+ nexusPublishing {
210
+ repositories {
211
+ myNexus {
212
+ nexusUrl = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
213
+ snapshotRepositoryUrl = uri("https://oss.sonatype.org/content/repositories/snapshots/")
214
+ username = System.getenv('SONATYPE_USERNAME')
215
+ password = System.getenv('SONATYPE_PASSWORD')
216
+ }
217
218
219
220
221
signing {
0 commit comments