Skip to content

Commit e267ca5

Browse files
committed
Configure automatic maven central sync
1 parent 3de60ed commit e267ca5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,12 @@ subprojects {
129129
userOrg = 'graphql-java-kickstart'
130130
version {
131131
name = project.version
132+
gpg {
133+
sign = true
134+
}
132135
mavenCentralSync {
133-
close = '1'
136+
user = System.env.OSS_USER_TOKEN_KEY ?: project.findProperty('OSS_USER_TOKEN_KEY') ?: ''
137+
password = System.env.OSS_USER_TOKEN_PASS ?: project.findProperty('OSS_USER_TOKEN_PASS') ?: ''
134138
}
135139
}
136140
}

0 commit comments

Comments
 (0)