You need to edit the sourcesets as well.
I think you can do
android {
sourceSets {
debugTestKeys.setRoot('src/debug')
}
}
On Mon, Jul 20, 2015 at 8:31 PM, Sebastian Roth <[email protected]>
wrote:
> During development, I will often work with devices that have different
> keys (e.g. Genymotion runs on test-keys, while a production device already
> uses release-keys).
>
> So I configured build.gradle like this:
>
> android.buildTypes {
> debug {
> signingConfig android.signingConfigs.debug
> }
> debugTestKeys.initWith(android.buildTypes.debug)
> debugTestKeys {
> signingConfig android.signingConfigs.debugTestKeys
> }
> }
>
> Which works well for signatures.
>
> However, when building with "./gradlew assembleDebugTestKeys" none of the
> resources defined in "src/debug/res" will accesible.
> Only the ones defined in "src/debugTestKeys/res".
>
> Is there a way to truly inherit debugTestKeys from debug or am I forced to
> copy all the files?
>
> 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.
>
--
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.