mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-29 17:20:11 +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")
|
setPublications("mavenJava")
|
||||||
setConfigurations("archives")
|
setConfigurations("archives")
|
||||||
|
|
||||||
|
publish = true
|
||||||
|
override = true
|
||||||
|
|
||||||
pkg.apply {
|
pkg.apply {
|
||||||
repo = bintrayRepo
|
repo = bintrayRepo
|
||||||
name = bintrayPkgName
|
name = bintrayPkgName
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
publishing {
|
publishing {
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
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 {
|
credentials {
|
||||||
username = upload.Bintray.getUser(project)
|
username = upload.Bintray.getUser(project)
|
||||||
|
Loading…
Reference in New Issue
Block a user