mirror of
https://github.com/corda/corda.git
synced 2024-12-26 16:11:12 +00:00
Returned to using more readable bintray syntax.
This commit is contained in:
parent
a6d1a07670
commit
1b052b07ec
@ -112,17 +112,25 @@ class PublishTasks implements Plugin<Project> {
|
|||||||
|
|
||||||
void configureBintray(BintrayConfigExtension bintrayConfig) {
|
void configureBintray(BintrayConfigExtension bintrayConfig) {
|
||||||
project.apply([plugin: 'com.jfrog.bintray'])
|
project.apply([plugin: 'com.jfrog.bintray'])
|
||||||
def bintray = project.extensions.findByName("bintray")
|
project.bintray {
|
||||||
bintray.user = bintrayConfig.user
|
user = bintrayConfig.user
|
||||||
bintray.key = bintrayConfig.key
|
key = bintrayConfig.key
|
||||||
bintray.publications = [ publishName ]
|
publications = [ publishName ]
|
||||||
bintray.dryRun = bintrayConfig.dryRun ?: false
|
dryRun = bintrayConfig.dryRun ?: false
|
||||||
bintray.pkg.repo = bintrayConfig.repo
|
pkg {
|
||||||
bintray.pkg.name = publishName
|
repo = bintrayConfig.repo
|
||||||
bintray.pkg.userOrg = bintrayConfig.org
|
name = publishName
|
||||||
bintray.pkg.licenses = bintrayConfig.licenses
|
userOrg = bintrayConfig.org
|
||||||
bintray.pkg.version.gpg.sign = bintrayConfig.gpgSign ?: false
|
licenses = bintrayConfig.licenses
|
||||||
bintray.pkg.version.gpg.passphrase = bintrayConfig.gpgPassphrase
|
|
||||||
|
version {
|
||||||
|
gpg {
|
||||||
|
sign = bintrayConfig.gpgSign ?: false
|
||||||
|
passphrase = bintrayConfig.gpgPassphrase
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void createTasks() {
|
void createTasks() {
|
||||||
|
Loading…
Reference in New Issue
Block a user