From 63887f8a237eb0ee6013fdaad410ffe7d814284b Mon Sep 17 00:00:00 2001 From: Tobrun Date: Thu, 8 Oct 2015 10:47:42 +0200 Subject: [PATCH] [android] #2462 updated build.grade to handle correct path for api token --- android/java/MapboxGLAndroidSDKTestApp/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/java/MapboxGLAndroidSDKTestApp/build.gradle b/android/java/MapboxGLAndroidSDKTestApp/build.gradle index 8a7d95fbe..8f3b7fb12 100644 --- a/android/java/MapboxGLAndroidSDKTestApp/build.gradle +++ b/android/java/MapboxGLAndroidSDKTestApp/build.gradle @@ -16,9 +16,9 @@ apply plugin: 'io.fabric' apply plugin: 'checkstyle' task accessToken { - def rawDir = new File("MapboxGLAndroidSDKTestApp/src/main/res/raw") + def rawDir = new File("MapboxGLAndroidSDK/src/main/res/raw") rawDir.mkdirs() - def tokenFile = new File("MapboxGLAndroidSDKTestApp/src/main/res/raw/token.txt") + def tokenFile = new File("MapboxGLAndroidSDK/src/main/res/raw/token.txt") if (!tokenFile.exists()) { String token = "$System.env.MAPBOX_ACCESS_TOKEN" if (token == null) {