#826 - Adjusting rawDir path for token so that it gets created in correct location
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user