2019-05-21 10:14:09 +00:00
|
|
|
apply plugin: 'com.jfrog.bintray'
|
|
|
|
|
|
|
|
ext {
|
|
|
|
projectBintrayDir = "${project.group}/".replace(".", "/") + "${project.name}/${project.version}"
|
|
|
|
}
|
|
|
|
|
|
|
|
apply from: "maven.publish.gradle"
|
|
|
|
|
|
|
|
bintray {
|
|
|
|
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')
|
|
|
|
publications = ["jvm8"]
|
|
|
|
filesSpec {
|
|
|
|
into projectBintrayDir
|
|
|
|
from signJvm8Publication
|
|
|
|
rename "pom.*\\.xml(.*)", "${project.name}-${project.version}.pom\$1"
|
|
|
|
rename "(.*)jvm8-(.*)", "\$1\$2"
|
|
|
|
}
|
|
|
|
pkg {
|
2019-10-10 08:25:01 +00:00
|
|
|
repo = 'InsanusMokrassar'
|
2019-05-21 10:14:09 +00:00
|
|
|
name = "${project.name}"
|
2019-10-08 17:46:01 +00:00
|
|
|
vcsUrl = "${project_vcs_base}/${project.name}"
|
2019-05-21 10:14:09 +00:00
|
|
|
licenses = ['Apache-2.0']
|
|
|
|
version {
|
|
|
|
name = "${project.version}"
|
|
|
|
released = new Date()
|
|
|
|
vcsTag = name
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|