I want to override the Android versionCode property from an applied script 
file (as to keep the app script clean). This is what i am doing currently 
(i omitted anything unrelated):

*build.gradle:*

apply from: 'ci.gradle'

android {
    defaultConfig {
        versionCode 1
    }}

*ci.gradle:*

project.afterEvaluate {
    project.android.defaultConfig.versionCode = 3434}

But i still end up with versionCode being 1... What i am doing wrong?

-- 
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/d/optout.

Reply via email to