Skip to content

Commit 8549d8e

Browse files
committed
working bintrayupload
1 parent a0ed9ab commit 8549d8e

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,13 @@ bintray {
170170
version {
171171
name = project.version
172172
released = new Date()
173+
mavenCentralSync {
174+
sync = true //[Default: true] Determines whether to sync the version to Maven Central.
175+
user = System.getenv('OSS_USER') ?: project.findProperty('OSS_USER') ?: ''
176+
password = System.getenv('OSS_PASS') ?: project.findProperty('OSS_PASS') ?: ''
177+
close = '1'
178+
//Optional property. By default the staging repository is closed and artifacts are released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the version manually.
179+
}
173180
}
174181
}
175182
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ org.gradle.daemon=true
55
org.gradle.parallel=true
66
org.gradle.jvmargs=-Dfile.encoding=UTF-8
77

8-
version = 6.1
8+
version = 6.2

0 commit comments

Comments
 (0)