Skip to content

Commit e4f20c5

Browse files
committed
Include automatic maven sync
1 parent 58bf325 commit e4f20c5

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

build.gradle

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,13 @@ subprojects {
171171
userOrg = 'graphql-java-kickstart'
172172
version {
173173
name = project.version
174-
175-
174+
gpg {
175+
sign = true
176+
}
177+
mavenCentralSync {
178+
user = System.env.OSS_USER_TOKEN_KEY ?: project.findProperty('OSS_USER_TOKEN_KEY') ?: ''
179+
password = System.env.OSS_USER_TOKEN_PASS ?: project.findProperty('OSS_USER_TOKEN_PASS') ?: ''
180+
}
176181
}
177182
}
178183
}

0 commit comments

Comments
 (0)