#826 - Fixing rawDir creation functionality
This commit is contained in:
@@ -13,8 +13,8 @@ apply plugin: 'com.android.application'
|
||||
apply plugin: 'checkstyle'
|
||||
|
||||
task accessToken {
|
||||
// def rawDir = new File("app/src/main/res/raw")
|
||||
// rawDir.mkdirs()
|
||||
def rawDir = new File("MapboxGLAndroidSDKTestApp/src/main/res/raw")
|
||||
rawDir.mkdirs()
|
||||
def tokenFile = new File("MapboxGLAndroidSDKTestApp/src/main/res/raw/token.txt")
|
||||
if (!tokenFile.exists()) {
|
||||
String token = System.getenv('MAPBOX_ACCESS_TOKEN')
|
||||
|
||||
Reference in New Issue
Block a user