A Gradle plugin for uploading iOS and Android Apps to HockeyApp.
Add to your build.gradle
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'de.felixschulze.gradle:gradle-hockeyapp-plugin:1.5+'
}
}
apply plugin: 'hockeyApp'
Add to your build.gradle
hockeyapp {
apiToken = "YOURHOCKEYAPPTOKEN"
releaseType = 2 // alpha
notify = 0
status = 2
notesType = 1
notes = "Some notes."
symbolsDirectory = file("build/symbols/")
mappingFileNameRegex = "R.txt"
variantToApplicationId = [
BuildVariantA: "applicationIdA",
BuildVariantB: "applicationIdB",
]
}
apiToken
: Your API Token from HockeyApp
releaseType
:0
beta,1
live,2
alphanotify
:0
not notify testers,1
notify all testers that can install this appstatus
:1
not allow users to download the version,2
make the version available for downloadnotes
: Release notes as Textile or MarkdownnotesType
:0
Textile,1
MarkdownsymbolsDirectory
: Optional:file("directory")
Directory which contains theR
file (Android) ordSYM
file (iOS)mappingFileNameRegex
: Optional:mappingFileNameRegex= "R.txt"
Should contain the filename or a regex for theR
mapping file (Android) ordSYM
file (iOS)variantToApplicationId
: Optional (Android):[variantName: "appId", variantName2: "appId2"]
map between your variants and application IDsappFileNameRegex
: Only needed for iOS or if you dont use the android gradle pluginoutputDirectory
: Only needed for iOStags
: Optional: restrict download to comma-separated list of tagscommitSha
: Optional: commit SHA for this buildbuildServerUrl
: Optional: the URL of the build job on your build serverrepositoryUrl
: Optional: your source repository URL
gradle-hockeyapp-plugin is available under the MIT license. See the LICENSE file for more info.