I have got manifest placeholder for service:
<service
android:name=".MyService"
android:process="${processName}">
In my build.gradle I replaced it.
android {
defaultConfig {
manifestPlaceholders = [
processName: ':Proc'
]
}
}
But for my espresso tests (androidTest) I need empty value in the processName
. How can I do this?
I have tried to do this with buildTypes, but it doesn't work (BuildType names cannot start with "androidTest")