bintray {
    user = findProperty('buser')
    key = findProperty('bkey')
    pkg {
        repo = 'kotlin'
        name = "${project.name}"
        licenses = ['MIT']
        vcsUrl = "https://github.com/rjaros/kvision.git"
        version {
            name = "${project.version}"
            desc = 'Object oriented Web UI framework for Kotlin/JS'
            released = new Date()
            vcsTag = project.version
        }
    }
    filesSpec {
        from "${project.buildDir}/libs/"
        into "pl/treksoft/${project.name}/${project.version}"
    }
}

bintrayUpload {
    dependsOn "generatePomFileForMavenProjectPublication"
}