diff options
author | Austin Kirk <askirk@umich.edu> | 2017-05-02 17:24:34 -0400 |
---|---|---|
committer | Austin Kirk <askirk@umich.edu> | 2017-05-02 17:24:34 -0400 |
commit | 607eeb2a5737a723326efb566d969b088726f1a7 (patch) | |
tree | 6f86f838b3c3a270ade8f997e32d860f2792bef0 | |
parent | 8893487963a78f779b5bbcc5fad77e3f582615c8 (diff) | |
download | sdl_android-607eeb2a5737a723326efb566d969b088726f1a7.tar.gz |
Separate .properties file for configurable detaiisfeature/gradle_distr
-rw-r--r-- | sdl_android/bintray.gradle | 19 | ||||
-rw-r--r-- | sdl_android/bintray.properties | 8 |
2 files changed, 19 insertions, 8 deletions
diff --git a/sdl_android/bintray.gradle b/sdl_android/bintray.gradle index fa464a50e..ebbf65599 100644 --- a/sdl_android/bintray.gradle +++ b/sdl_android/bintray.gradle @@ -45,24 +45,27 @@ artifacts { } bintray { + Properties props = new Properties() + props.load(new FileInputStream("$projectDir/bintray.properties")) + // Authorization - user = '' - key = '' + user = props.getProperty("bintray.user") + key = props.getProperty("bintray.key") configurations = ['archives'] pkg { - repo = 'sdl_android' - name = "sdl_android" + repo = props.getProperty("bintray.repo") + name = props.getProperty("bintray.artifact") websiteUrl = siteUrl vcsUrl = gitUrl - userOrg = 'smartdevicelink' + userOrg = props.getProperty("bintray.userorg") licenses = ["BSD 3-Clause"] - publish = true + publish = props.getProperty("bintray.publish") // Will upload to jCenter version { - name = '4.3.0' // Change to release version + name = props.getProperty("bintray.version") // Change to release version desc = libDescription released = new Date() // Will be the current date & time - vcsTag = '4.3.0' // Should match git tag + vcsTag = props.getProperty("bintray.vcs") // Should match git tag } } }
\ No newline at end of file diff --git a/sdl_android/bintray.properties b/sdl_android/bintray.properties new file mode 100644 index 000000000..760f99904 --- /dev/null +++ b/sdl_android/bintray.properties @@ -0,0 +1,8 @@ +bintray.user=username +bintray.key=apikey +bintray.repo=sdl_android +bintray.artifact=sdl_android +bintray.userorg=smartdevicelink +bintray.publish=true +bintray.version=X.X.X +bintray.vcs=X.X.X
\ No newline at end of file |