Skip to content

Commit 7eef35e

Browse files
authored
Merge pull request #111 from graphql-java-kickstart/renovate/major-spring-boot
chore: upgrade nexus publishing configuration
2 parents 8d7a0e6 + 7d27d8b commit 7eef35e

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

build.gradle

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ plugins {
22
id "org.springframework.boot" version "$LIB_SPRING_BOOT_VER" apply false
33
id "org.sonarqube" version "3.5.0.2730"
44
id "jacoco"
5-
id 'io.codearte.nexus-staging' version '0.30.0'
5+
id "io.github.gradle-nexus.publish-plugin" version '1.1.0'
66
}
77

88
sonar {
@@ -154,9 +154,13 @@ subprojects {
154154
}
155155
}
156156

157-
nexusStaging {
158-
username = System.env.OSS_USER_TOKEN_KEY ?: project.findProperty('OSS_USER_TOKEN_KEY') ?: ''
159-
password = System.env.OSS_USER_TOKEN_PASS ?: project.findProperty('OSS_USER_TOKEN_PASS') ?: ''
157+
nexusPublishing {
158+
repositories {
159+
sonatype {
160+
username = System.env.OSS_USER_TOKEN_KEY ?: project.findProperty('OSS_USER_TOKEN_KEY') ?: ''
161+
password = System.env.OSS_USER_TOKEN_PASS ?: project.findProperty('OSS_USER_TOKEN_PASS') ?: ''
162+
}
163+
}
160164
}
161165

162166
wrapper {

0 commit comments

Comments
 (0)