#826 - Fixing rawDir creation functionality

This commit is contained in:
Brad Leege
2015-02-10 14:45:15 -08:00
parent de49ab51d3
commit dd87c34eac

View File

@@ -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')