mirror of
https://github.com/InsanusMokrassar/krontab.git
synced 2024-11-22 16:23:55 +00:00
update publication script
This commit is contained in:
parent
1678b637a6
commit
5c4d3814f6
@ -2,9 +2,19 @@ apply plugin: 'com.jfrog.bintray'
|
|||||||
|
|
||||||
apply from: "maven.publish.gradle"
|
apply from: "maven.publish.gradle"
|
||||||
|
|
||||||
|
ext {
|
||||||
|
projectBintrayDir = "${project.group}/".replace(".", "/") + "${project.name}/${project.version}"
|
||||||
|
}
|
||||||
|
|
||||||
bintray {
|
bintray {
|
||||||
user = project.hasProperty('BINTRAY_USER') ? project.property('BINTRAY_USER') : System.getenv('BINTRAY_USER')
|
user = project.hasProperty('BINTRAY_USER') ? project.property('BINTRAY_USER') : System.getenv('BINTRAY_USER')
|
||||||
key = project.hasProperty('BINTRAY_KEY') ? project.property('BINTRAY_KEY') : System.getenv('BINTRAY_KEY')
|
key = project.hasProperty('BINTRAY_KEY') ? project.property('BINTRAY_KEY') : System.getenv('BINTRAY_KEY')
|
||||||
|
filesSpec {
|
||||||
|
from "${buildDir}/publications/kotlinMultiplatform/"
|
||||||
|
include "module.json"
|
||||||
|
rename "module\\.json", "${project.name}-${project.version}.module"
|
||||||
|
into "${projectBintrayDir}"
|
||||||
|
}
|
||||||
pkg {
|
pkg {
|
||||||
repo = "InsanusMokrassar"
|
repo = "InsanusMokrassar"
|
||||||
name = "${project.name}"
|
name = "${project.name}"
|
||||||
|
Loading…
Reference in New Issue
Block a user