summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorBrad Leege <bleege@gmail.com>2015-02-10 15:13:32 -0800
committerBrad Leege <bleege@gmail.com>2015-02-10 15:13:32 -0800
commit8d399895bcdf13cbce57df996ceffd067525534b (patch)
treeae26a4aa667c82e77c95624170fabc34e8dbbded /android
parent83942df08b31ac696c9e857496a022c419789764 (diff)
downloadqtlocation-mapboxgl-8d399895bcdf13cbce57df996ceffd067525534b.tar.gz
#826 - Adjusting rawDir path for token so that it gets created in correct location
Diffstat (limited to 'android')
-rw-r--r--android/java/MapboxGLAndroidSDKTestApp/build.gradle4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/java/MapboxGLAndroidSDKTestApp/build.gradle b/android/java/MapboxGLAndroidSDKTestApp/build.gradle
index 7427a5b601..c34cd9e565 100644
--- a/android/java/MapboxGLAndroidSDKTestApp/build.gradle
+++ b/android/java/MapboxGLAndroidSDKTestApp/build.gradle
@@ -13,9 +13,9 @@ apply plugin: 'com.android.application'
apply plugin: 'checkstyle'
task accessToken {
- def rawDir = new File("MapboxGLAndroidSDKTestApp/src/main/res/raw")
+ def rawDir = new File("src/main/res/raw")
rawDir.mkdirs()
- def tokenFile = new File("MapboxGLAndroidSDKTestApp/src/main/res/raw/token.txt")
+ def tokenFile = new File("src/main/res/raw/token.txt")
if (!tokenFile.exists()) {
String token = System.getenv('MAPBOX_ACCESS_TOKEN')
if (token == null) {