1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-14 21:00:15 +00:00

update publishing scripts

This commit is contained in:
2021-02-06 00:50:51 +06:00
parent 51871ea94c
commit 18913af3c3
10 changed files with 60 additions and 10 deletions

View File

@@ -48,6 +48,16 @@ publishing {
password = project.hasProperty('BINTRAY_KEY') ? project.property('BINTRAY_KEY') : System.getenv('BINTRAY_KEY')
}
}
maven {
name = "sonatype"
url = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
credentials {
username = project.hasProperty('SONATYPE_USER') ? project.property('SONATYPE_USER') : System.getenv('SONATYPE_USER')
password = project.hasProperty('SONATYPE_PASSWORD') ? project.property('SONATYPE_PASSWORD') : System.getenv('SONATYPE_PASSWORD')
}
}
}
}
@@ -55,5 +65,5 @@ publishing {
signing {
useGpgCmd()
publishing.publications.forEach { sign it }
sign publishing.publications
}