Skip to content

Instantly share code, notes, and snippets.

@romainpiel
Created October 19, 2014 09:12
Show Gist options
  • Save romainpiel/a944add07dd369c8b642 to your computer and use it in GitHub Desktop.
Save romainpiel/a944add07dd369c8b642 to your computer and use it in GitHub Desktop.
dependencies {
classpath 'com.github.castorflex.manifestreplace:plugin:1.0.0'
}
apply plugin: 'com.android.application'
apply plugin: 'manifestreplace'
manifestReplace {
manifestPlaceholders = [
activities : [
{
name : ".MainActivity"
label : "@string/app_name"
intentFilters : [
....
]
}
]
services : [
...
]
permissions : [
"android.permission.WRITE_EXTERNAL_STORAGE",
"android.permission.RECEIVE_SMS"
]
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment