From 41f27041fdcffcfd0a914446b970ae359b1f6edf Mon Sep 17 00:00:00 2001 From: Maxime Roussy Date: Tue, 18 Sep 2018 11:30:07 -0600 Subject: [PATCH] Fixed README license icon and updated build file to use env variables for CI. --- README.md | 3 +-- build.gradle | 7 ++----- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 0685ba2..4625228 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,7 @@ A Java/Android library to generate random english pronounceable words based on a collection of constructed bi-grams. -[![MIT License](http://img.shields.io/badge/license-MIT-green.svg)](https://github.com/maximeroussy/invitrode/license -.md)![CI Build](https://travis-ci.com/maximeroussy/invitrode.svg?branch=master) +[![MIT License](http://img.shields.io/badge/license-MIT-green.svg)](https://github.com/maximeroussy/invitrode/license.md)![CI Build](https://travis-ci.com/maximeroussy/invitrode.svg?branch=master) ## Summary diff --git a/build.gradle b/build.gradle index 0cc1e07..aae4d83 100644 --- a/build.gradle +++ b/build.gradle @@ -84,12 +84,9 @@ publishing { } } -Properties properties = new Properties() -properties.load(project.rootProject.file('local.properties').newDataInputStream()) - bintray { - user = properties.getProperty('bintray.user') - key = properties.getProperty('bintray.apikey') + user = System.getenv('BINTRAY_USER') + key = System.getenv('BINTRAY_KEY') publications = ['mavenJava'] pkg { repo = 'maven'