Skip to content

Commit

Permalink
fix bintray release
Browse files Browse the repository at this point in the history
  • Loading branch information
henteko committed Feb 28, 2017
1 parent e077139 commit 0e1f0e3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 11 deletions.
31 changes: 21 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apply plugin: 'groovy'
apply plugin: 'maven'
apply plugin: 'com.novoda.bintray-release'
apply plugin: 'com.jfrog.bintray'

group = 'com.deploygate'
archivesBaseName = 'gradle'
Expand Down Expand Up @@ -38,21 +38,32 @@ artifacts {
}

// Release
publish {
userOrg = 'deploygate'
groupId = group
repoName = 'maven'
artifactId = archivesBaseName
publishVersion = '1.1.0'
desc = 'Gradle Plugin for DeployGate'
website = 'https://github.com/DeployGate/gradle-deploygate-plugin'
bintray {
user = System.getenv('BINTRAY_USER')
key = System.getenv('BINTRAY_KEY')
pkg {
repo = 'maven'
name = 'com.deploygate:gradle'
userOrg = 'deploygate'
licenses = ['Apache-2.0']
websiteUrl = 'https://github.com/DeployGate/gradle-deploygate-plugin'
issueTrackerUrl = 'https://github.com/DeployGate/gradle-deploygate-plugin/issues'
vcsUrl = 'https://github.com/DeployGate/gradle-deploygate-plugin.git'
githubRepo = 'DeployGate/gradle-deploygate-plugin'
version {
name = '1.1.0'
released = new Date()
}
}

configurations = ['archives']
}

buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.novoda:bintray-release:0.4.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
}
}
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash

./gradlew clean build bintrayUpload -PbintrayUser=$BINTRAY_USER -PbintrayKey=$BINTRAY_KEY -PdryRun=false
./gradlew clean build bintrayUpload

0 comments on commit 0e1f0e3

Please sign in to comment.