Skip to content

Commit

Permalink
Fix Travis Integration
Browse files Browse the repository at this point in the history
  • Loading branch information
amitkma committed May 26, 2017
1 parent 72cdd1b commit 7d044ea
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 44 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ android:
- extra-android-m2repository
script:
- ./gradlew build
cache:
directories:
- $HOME/.m2
- $HOME/.gradle
branches:
only:
- master
36 changes: 19 additions & 17 deletions gradle/bintray.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,25 +46,27 @@ artifacts {
}

Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
if(project.rootProject.file('local.properties').exists()){
properties.load(project.rootProject.file('local.properties').newDataInputStream())

bintray {
user = properties.getProperty("bintray.user")
key = properties.getProperty("bintray.apikey")
bintray {
user = properties.getProperty("bintray.user")
key = properties.getProperty("bintray.apikey")

configurations = ['archives']
publish = true
pkg {
repo = 'maven'
name = project.name
websiteUrl = githubUrl
vcsUrl = gitUrl
licenses = ["Apache-2.0"]
version {
gpg {
sign = true //Determines whether to GPG sign the files. The default is false
passphrase = properties.getProperty("bintray.gpg.password") //Optional. The passphrase for GPG signing'
configurations = ['archives']
publish = true
pkg {
repo = 'maven'
name = project.name
websiteUrl = githubUrl
vcsUrl = gitUrl
licenses = ["Apache-2.0"]
version {
gpg {
sign = true //Determines whether to GPG sign the files. The default is false
passphrase = properties.getProperty("bintray.gpg.password") //Optional. The passphrase for GPG signing'
}
}
}
}
}
}

This file was deleted.

0 comments on commit 7d044ea

Please sign in to comment.