mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-14 20:50:09 +08:00
Auto-publish artifacts when uploaded to bintray
This commit is contained in:
parent
a68a6f2eae
commit
be6c67778e
@ -119,6 +119,9 @@ inline fun Project.configurePublishing(
|
||||
setPublications("mavenJava")
|
||||
setConfigurations("archives")
|
||||
|
||||
publish = true
|
||||
override = true
|
||||
|
||||
pkg.apply {
|
||||
repo = bintrayRepo
|
||||
name = bintrayPkgName
|
||||
|
@ -10,7 +10,7 @@
|
||||
publishing {
|
||||
repositories {
|
||||
maven {
|
||||
url = "https://api.bintray.com/maven/him188moe/mirai/mirai-core/;publish=0"
|
||||
url = "https://api.bintray.com/maven/him188moe/mirai/mirai-core/;publish=1"
|
||||
|
||||
credentials {
|
||||
username = upload.Bintray.getUser(project)
|
||||
|
Loading…
Reference in New Issue
Block a user