Skip to content

This is a simple Gradle Plugin which helps you upload your build artifacts to AppCenter.

License

Notifications You must be signed in to change notification settings

TeamWanari/appcenter-publish-plugin

Repository files navigation

appcenter-publish-plugin

Kotlin 1.2.71 Releases Gradle Plugin JitPack Release Travis MIT License

Description

This is a simple Gradle Plugin which helps you upload your build artifacts to AppCenter.

Usage

latest_version = Latest version

Build script snippet for plugins DSL for Gradle 2.1 and later:

plugins {
  id "com.teamwanari.appcenter-publish-plugin" version "$latest_version"
}

Build script snippet for use in older Gradle versions or where dynamic configuration is required:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.appcenter-publish-plugin:plugin:$latest_version"
  }
}

apply plugin: "com.teamwanari.appcenter-publish-plugin"

And the configuration block:

appCenter {
    apiToken = "****"               // Required. Token generated on your AppCenter account
    appName = "MyTestApp"           // Required. App name on AppCenter
    appOwner = "me"                 // Required. User or Organization name who owns the App on AppCenter
    artifact = file("$projectDir/xyz/xyz.apk") // Required. Path to your release build artifact
    destination = "QA Testers"      // Required. Name of the Test Group on AppCenter
    releaseNotes = "Test release notes.... from Gradle Plugin :)" // Optional. Release notes...
    verbose = true                  // Optional. Enables API call logging. Defaults to false
}

If everything is set, go to terminal and execute appCenterUpload gradle task.

License

MIT License

Copyright (c) 2018 TeamWanari

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

This is a simple Gradle Plugin which helps you upload your build artifacts to AppCenter.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages