Last active
January 13, 2017 03:13
-
-
Save shts/8266dffd48f8fdcc3470 to your computer and use it in GitHub Desktop.
gradle.propertiesに定義した値をAndroidManifest.xmlから参照する ref: http://qiita.com/shts/items/5a0ceab7334c5ad8f4f9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<meta-data | |
android:name="io.fabric.ApiKey" | |
android:value="${fabricApiKey}" /> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
defaultConfig { | |
manifestPlaceholders = [fabricApiKey: project.property("fabricApiKey")]; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fabricApiKey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment