Coder Social home page Coder Social logo

siggijons / gradle-hockeyapp-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from x2on/gradle-hockeyapp-plugin

0.0 2.0 0.0 460 KB

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

License: MIT License

Java 5.45% Groovy 94.55%

gradle-hockeyapp-plugin's Introduction

gradle-hockeyapp-plugin Build Status Maven Central License MIT

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:3.2'
    }
}

apply plugin: 'de.felixschulze.gradle.hockeyapp'
hockeyapp {
    apiToken = "YOURHOCKEYAPITOKEN"
}

Advanced usage

Add to your build.gradle

hockeyapp {
    apiToken = "YOURHOCKEYAPITOKEN"
    releaseType = 2 // alpha
    notify = 0
    status = 2
    notesType = 1
    notes = "Some notes."
    variantToApplicationId = [
            BuildVariantA:  "hockeyAppapplicationIdA",
            BuildVariantB:  "hockeyAppapplicationIdB",
    ]
}

Required

Optional

  • variantToApiToken: Optional: [variantName: "YOURHOCKEYAPITOKEN", variantName2: "YOUROTHERHOCKEYAPITOKEN"] map between your variants and api tokens
  • releaseType: 0 beta, 1 live, 2 alpha
  • variantToReleaseType: Optional: [variantName: "0", variantName2: "1"] map between your variants and releaseType
  • 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
  • variantToStatus: Optional: [variantName: "1", variantName2: "2"] map between your variants and status
  • notes: Release notes as Textile or Markdown
  • variantToNotes : Optional: [variantName: "some notes", variantName2: "some other Notes"] map between your variants and notes
  • notesType: 0 Textile, 1 Markdown
  • variantToNotesType : Optional: [variantName: "0", variantName2: "1"] map between your variants and notesType
  • mandatory: 0 not mandatory, 1 mandatory
  • variantToMandatory: Optional: [variantName: "0", variantName2: "1"] map between your variants and mandatory
  • mappingFileNameRegex: Optional: mappingFileNameRegex="mapping.txt" Should contain the filename or a regex for the proguard mapping.txt mapping file (Android) or dSYM file (iOS). Standard is mapping.txt
  • variantToApplicationId: Optional (Android): [variantName: "hockeyAppAppId", variantName2: "hockeyAppAppId2"] map between your variants and HockeyApp application IDs
  • symbolsDirectory: Only needed for iOS or if you don't use the android gradle plugin: file("directory") Directory which contains the R or dSYM file
  • appFileNameRegex: Only needed for iOS or if you don't use the android gradle plugin `appFileNameRegex = ".*.ipa"
  • outputDirectory: Only needed for iOS: file("directory")
  • 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
  • teamCityLog: true Add features for TeamCity

Migration from 2.x to >= 3.0

To migrate to version >= 3.0 please change

apply plugin: 'hockeyApp'

to

apply plugin: 'de.felixschulze.gradle.hockeyapp'

Changelog

Releases

Fix for Error with Top-Level-Projects

If you use a top-level-project and got the error java.lang.NoSuchFieldError: INSTANCE move the dependency to this plugin to your root build.gradle file (see #30)

License

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

gradle-hockeyapp-plugin's People

Contributors

x2on avatar sveinungkb avatar zacsweers avatar dukho avatar amarkovits avatar blazsolar avatar emilsjolander avatar siggijons avatar tomquist avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.