1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-24 23:47:11 -07:00

Make local.properties optional.

This commit is contained in:
Cedric Beust 2015-10-19 17:05:16 -07:00
parent 233492c237
commit 2239272235
2 changed files with 3 additions and 4 deletions

View file

@ -3,9 +3,6 @@ language: java
jdk:
- oraclejdk8
before_install:
- touch local.properties
install: true
script: exec ./kobaltw assemble test

View file

@ -38,7 +38,9 @@ publishing {
task install(dependsOn: publishToMavenLocal)
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
if (new File('local.properties').exists()) {
properties.load(project.rootProject.file('local.properties').newDataInputStream())
}
bintray {
user = properties.getProperty("bintray.user")