We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7be854 commit f045fbdCopy full SHA for f045fbd
publish.gradle
@@ -67,8 +67,8 @@ publishing {
67
}
68
69
bintray {
70
- user = project.hasProperty('bintrayUser') ? project.bintrayUser : System.getenv('BINTRAY_USERNAME')
71
- key = project.hasProperty('bintrayKey') ? project.bintrayKey : System.getenv('BINTRAY_KEY')
+ user = System.getenv('BINTRAY_USERNAME')
+ key = System.getenv('BINTRAY_KEY')
72
publications = ['mavenJava']
73
pkg {
74
repo = "$project.repository"
@@ -85,6 +85,12 @@ bintray {
85
desc = "$project.description"
86
released = new Date()
87
vcsTag = "$project.website"
88
+ mavenCentralSync {
89
+ sync = true
90
+ user = System.getenv('OSS_USERNAME')
91
+ password = System.getenv('OSS_KEY')
92
+ close = '1'
93
+ }
94
95
96
0 commit comments