This is already fixed and will be pushed with Gradle Plugin 0.14.2 Any reasons you're not using BuildConfig fields to enable/disable behaviors? it's probably easier to manage than reading the version name.
On Wed, Nov 5, 2014 at 8:24 AM, Jean-Michel <[email protected]> wrote: > We have noticed that since the last AS update, VersionNameSuffix is > ignored in buidTypes... > > I have created a small project to demonstrate the issue, it just displays > the application info from the packageInfo in a window. > I have set a different versionNameSuffix for the debug, beta and release > types, but when running the application, they all only show the default > "1.0" > > You can find it here > https://github.com/jmcazaux/test-android-versionnamesuffix > > Maybe it has nothing to do with the AS version but rather with the Gradle > / Android plugin version (most probably)... > > Any idea how to fix this ? > It is not only a nicity for us, we do have some behaviours that depends on > the application status (infered from the version name)... > > Many thanks, > JM > > -- > 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. > -- Xavier Ducrohet Android SDK Tech Lead Google Inc. http://developer.android.com | http://tools.android.com Please do not send me questions directly. Thanks! -- 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.
