import org.apache.tools.ant.filters.ReplaceTokens
plugins {
+ id "com.jfrog.bintray" version "1.6"
id 'java-library'
id "org.nosphere.gradle.github.actions" version "1.1.0"
id 'maven-publish'
project(':dictzip-lib') {
apply plugin: 'java-library'
+ apply plugin: 'com.jfrog.bintray'
version = rootProject.version
+ bintray {
+ dryRun = false
+ publish = false
+ user = project.hasProperty('bintrayUser') ? project.property('bintrayUser') : System.getenv('BINTRAY_USER')
+ key = project.hasProperty('bintrayApiKey') ? project.property('bintrayApiKey') : System.getenv('BINTRAY_API_KEY')
+ configurations = ['archives']
+ pkg {
+ repo = 'maven'
+ name = 'dictzip-lib'
+ userOrg = 'dictzip'
+ licenses = ['GPL-2.0+CE']
+ vcsUrl = projectUrl
+ labels = ['java', 'dictzip']
+ publicDownloadNumbers = true
+ }
+ }
install {
repositories.mavenInstaller {
pom.project {