Created
April 15, 2015 13:40
-
-
Save YukiMatsumura/fea93815fa980555d0f5 to your computer and use it in GitHub Desktop.
gradleからdeploygateへアップロードする ref: http://qiita.com/Yuki_312/items/1a0991e45a9bff1cc9a4
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
dependencies { | |
// ... | |
classpath 'com.deploygate:gradle:0.6.2' | |
} |
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
apply plugin: 'deploygate' | |
deploygate { | |
userName = "[owner name]" | |
token = "[token]" | |
apks { | |
release { | |
sourceFile = file("[apk1 file path]") | |
} | |
debug { | |
sourceFile = file("[apk2 file path]") | |
//Below is optional | |
message = "test upload2 sample" | |
visibility = "public" // default private | |
distributionKey = "[distribution_key]" | |
releaseNote = "release note sample" | |
} | |
} | |
} |
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
deploygate { | |
// load local.propertis | |
Properties properties = new Properties() | |
properties.load(project.rootProject.file('local.properties').newDataInputStream()) | |
userName = "yuki312" | |
token = properties.getProperty('dev.key.deploygate') | |
apks { | |
release { | |
sourceFile = file("./build/outputs/apk/app-release.apk") | |
} | |
debug { | |
sourceFile = file("./build/outputs/apk/app-debug.apk") | |
//Below is optional | |
message = "test message" | |
visibility = "public" // default private | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment