andreaswittig / gradle-hockeyapp-plugin

A Gradle plugin for uploading iOS and Android Apps to HockeyApp.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gradle-hockeyapp-plugin Build Status

A Gradle plugin for uploading iOS and Android Apps to HockeyApp.

Basic usage

Add to your build.gradle

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath 'de.felixschulze.gradle:gradle-hockeyapp-plugin:1.5+'
    }
}

apply plugin: 'hockeyApp'

Advanced usage

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",
    ]
}

Required

Optional

  • releaseType: 0 beta, 1 live, 2 alpha
  • notify: 0 not notify testers, 1 notify all testers that can install this app
  • status: 1 not allow users to download the version, 2 make the version available for download
  • notes: Release notes as Textile or Markdown
  • notesType: 0 Textile, 1 Markdown
  • symbolsDirectory: Optional: file("directory") Directory which contains the R file (Android) or dSYM file (iOS)
  • mappingFileNameRegex: Optional: mappingFileNameRegex= "R.txt" Should contain the filename or a regex for the R mapping file (Android) or dSYM file (iOS)
  • variantToApplicationId: Optional (Android): [variantName: "appId", variantName2: "appId2"] map between your variants and application IDs
  • appFileNameRegex: Only needed for iOS or if you dont use the android gradle plugin
  • outputDirectory: Only needed for iOS
  • tags: Optional: restrict download to comma-separated list of tags
  • commitSha: Optional: commit SHA for this build
  • buildServerUrl: Optional: the URL of the build job on your build server
  • repositoryUrl: Optional: your source repository URL

Changelog

Releases

License

gradle-hockeyapp-plugin is available under the MIT license. See the LICENSE file for more info.

About

A Gradle plugin for uploading iOS and Android Apps to HockeyApp.

License:MIT License


Languages

Language:Groovy 80.8%Language:Java 19.2%