Skip to content

Instantly share code, notes, and snippets.

@twiceyuan
Last active October 29, 2018 06:26
Show Gist options
  • Save twiceyuan/646d1fdb17e222691d94 to your computer and use it in GitHub Desktop.
Save twiceyuan/646d1fdb17e222691d94 to your computer and use it in GitHub Desktop.
[PlaceHolder、Manifest 替换] Gradle 里 Manifest 替换、BuildConfig 常量生成 #Android #Gradle
debug {
manifestPlaceholders = [(manifest key name): (local properties key name)]
buildConfigField "String", "ARG_NAME", LOCAL_PROPERTIES_NAME
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment