I earlier had this in my build file:
defaultConfig {
        minSdkVersion 14
        targetSdkVersion 19
        buildConfig "public static final String COMMIT_HASH = 
\""+getGitHash()+"\";"
}

So I can put my git hash in the application. Now it gives this error:

> Could not find method buildConfig() for arguments [public static final 
String COMMIT_HASH = "1.0-sprint7-56-g2ba6a8a";] on 
ProductFlavorDsl_Decorated{name=main, minSdkVersion=14, 
targetSdkVersion=19, renderscriptTargetApi=-1, 
renderscriptSupportMode=null, renderscriptNdkMode=null, versionCode=-1, 
versionName=null, packageName=null, testPackageName=null, 
testInstrumentationRunner=null, testHandleProfiling=null, 
testFunctionalTest=null, signingConfig=null, resConfig=null}.

What is wrong with this now?

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to