diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index da726ec..274bc2c 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @larusso @alexandershestakov @marcolink +* @larusso @alexandershestakov diff --git a/.github/SUPPORT.md b/.github/SUPPORT.md index dad2fe4..0e3f7cd 100644 --- a/.github/SUPPORT.md +++ b/.github/SUPPORT.md @@ -1,5 +1,5 @@ ## Communicating with other developers pullrequests for all packages. -- [GitHub issues](https://github.com/wooga/atlas-wdk-unity/issues): All discussions around bugs, feature requests. -- [GitHub pull requests](https://github.com/wooga/atlas-wdk-unity/pulls): All discussions bugfixes, important and new additions. +- [GitHub issues](https://github.com/wooga/atlas-appcenter/issues): All discussions around bugs, feature requests. +- [GitHub pull requests](https://github.com/wooga/atlas-appcenter/pulls): All discussions bugfixes, important and new additions. diff --git a/Jenkinsfile b/Jenkinsfile index 9ac1a48..6137484 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,17 +1,13 @@ #!groovy @Library('github.com/wooga/atlas-jenkins-pipeline@1.x') _ -withCredentials([string(credentialsId: 'atlas_hockey_integration_api_token', variable: 'hockeyToken'), - string(credentialsId: 'atlas_hockey_integration_application_identifier', variable: 'hockeyAppId'), - string(credentialsId: 'atlas_hockey_integration_appcenter_token', variable: 'appcenterToken'), - string(credentialsId: 'atlas_hockey_integration_appcenter_application_identifier', variable: 'appcenterAppId'), - string(credentialsId: 'atlas_hockey_integration_appcenter_application_owner', variable: 'appcenterOwner'), - string(credentialsId: 'atlas_hockey_coveralls_token', variable: 'coveralls_token') +withCredentials([string(credentialsId: 'atlas_appcenter_integration_token', variable: 'appcenterToken'), + string(credentialsId: 'atlas_appcenter_integration_application_identifier', variable: 'appcenterAppId'), + string(credentialsId: 'atlas_appcenter_integration_application_owner', variable: 'appcenterOwner'), + string(credentialsId: 'atlas_appcenter_coveralls_token', variable: 'coveralls_token') ]) { def testEnvironment = [ - "ATLAS_HOCKEY_INTEGRATION_API_TOKEN=${hockeyToken}", - "ATLAS_HOCKEY_INTEGRATION_APPLICATION_IDENTIFIER=${hockeyAppId}", "ATLAS_APP_CENTER_INTEGRATION_API_TOKEN=${appcenterToken}", "ATLAS_APP_CENTER_OWNER=${appcenterOwner}", "ATLAS_APP_CENTER_INTEGRATION_APPLICATION_IDENTIFIER=${appcenterAppId}" diff --git a/README.md b/README.md index eb642de..7e810e2 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ -atlas-hockey +atlas-appcenter ================= [![Gradle Plugin ID](https://img.shields.io/badge/gradle-net.wooga.build--unity-brightgreen.svg?style=flat-square)](https://plugins.gradle.org/plugin/net.wooga.build-unity) -[![Build Status](https://wooga-shields.herokuapp.com/jenkins/s/https/atlas-jenkins.wooga.com/job/atlas-plugins/job/atlas-hockey/job/master.svg?style=flat-square)]() -[![Build Status](https://img.shields.io/travis/wooga/atlas-hockey/master.svg?style=flat-square)](https://travis-ci.org/wooga/atlas-hockey) -[![Coveralls Status](https://img.shields.io/coveralls/wooga/atlas-hockey/master.svg?style=flat-square)](https://coveralls.io/github/wooga/atlas-hockey?branch=master) -[![Apache 2.0](https://img.shields.io/badge/license-Apache%202-blue.svg?style=flat-square)](https://raw.githubusercontent.com/wooga/atlas-hockey/master/LICENSE) -[![GitHub tag](https://img.shields.io/github/tag/wooga/atlas-hockey.svg?style=flat-square)]() -[![GitHub release](https://img.shields.io/github/release/wooga/atlas-hockey.svg?style=flat-square)]() +[![Build Status](https://wooga-shields.herokuapp.com/jenkins/s/https/atlas-jenkins.wooga.com/job/atlas-plugins/job/atlas-appcenter/job/master.svg?style=flat-square)]() +[![Build Status](https://img.shields.io/travis/wooga/atlas-appcenter/master.svg?style=flat-square)](https://travis-ci.org/wooga/atlas-appcenter) +[![Coveralls Status](https://img.shields.io/coveralls/wooga/atlas-appcenter/master.svg?style=flat-square)](https://coveralls.io/github/wooga/atlas-appcenter?branch=master) +[![Apache 2.0](https://img.shields.io/badge/license-Apache%202-blue.svg?style=flat-square)](https://raw.githubusercontent.com/wooga/atlas-appcenter/master/LICENSE) +[![GitHub tag](https://img.shields.io/github/tag/wooga/atlas-appcenter.svg?style=flat-square)]() +[![GitHub release](https://img.shields.io/github/release/wooga/atlas-appcenter.svg?style=flat-square)]() This plugin is work in progress. @@ -16,7 +16,7 @@ This plugin is work in progress. **build.gradle** ```groovy plugins { - id 'net.wooga.hockey' version '0.1.0' + id 'net.wooga.appcenter' version '0.1.0' } ``` diff --git a/build.gradle b/build.gradle index 19e6b26..fcba1e5 100644 --- a/build.gradle +++ b/build.gradle @@ -19,24 +19,24 @@ plugins { } group 'net.wooga.gradle' -description = 'Hockey app upload plugin.' +description = 'AppCenter upload plugin.' pluginBundle { - website = 'https://wooga.github.io/atlas-hockey/' - vcsUrl = 'https://github.com/wooga/atlas-hockey' - tags = ['HockeyApp'] + website = 'https://wooga.github.io/atlas-appcenter/' + vcsUrl = 'https://github.com/wooga/atlas-appcenter' + tags = ['AppCenter'] plugins { unity { - id = 'net.wooga.hockey' - displayName = 'Gradle HockeyApp plugin' - description = 'This plugin provides tasks for uploading a build to hockey' + id = 'net.wooga.appcenter' + displayName = 'Gradle AppCenter plugin' + description = 'This plugin provides tasks for uploading a build to AppCenter' } } } github { - repositoryName = "wooga/atlas-hockey" + repositoryName = "wooga/atlas-appcenter" } dependencies { diff --git a/docs/api/allclasses-frame.html b/docs/api/allclasses-frame.html index 95ca073..e2e1771 100644 --- a/docs/api/allclasses-frame.html +++ b/docs/api/allclasses-frame.html @@ -32,8 +32,9 @@

All Classes

diff --git a/docs/api/deprecated-list.html b/docs/api/deprecated-list.html index 29037db..1955d4e 100644 --- a/docs/api/deprecated-list.html +++ b/docs/api/deprecated-list.html @@ -24,7 +24,7 @@ - Deprecated API (Gradle HockeyApp plugin API) + Deprecated API (Gradle AppCenter plugin API) @@ -34,7 +34,7 @@ @@ -96,7 +96,7 @@

Contents

  • Frames
  • No Frames
  • -
    Gradle HockeyApp plugin API
    +
    Gradle AppCenter plugin API
    diff --git a/docs/api/help-doc.html b/docs/api/help-doc.html index 43e4319..29fd5e7 100644 --- a/docs/api/help-doc.html +++ b/docs/api/help-doc.html @@ -25,7 +25,7 @@ - API Help (Gradle HockeyApp plugin API) + API Help (Gradle AppCenter plugin API) @@ -34,7 +34,7 @@ @@ -187,7 +187,7 @@

    Constant Field Values

  • Frames
  • No Frames
  • -
    Gradle HockeyApp plugin API
    +
    Gradle AppCenter plugin API
    diff --git a/docs/api/index-all.html b/docs/api/index-all.html index d81ec06..9fa8284 100644 --- a/docs/api/index-all.html +++ b/docs/api/index-all.html @@ -24,14 +24,14 @@ - Index (Gradle HockeyApp plugin API) + Index (Gradle AppCenter plugin API) @@ -125,11 +125,17 @@

    A

    -
    apiToken(Object) - Method in HockeyUploadTask +
    apiToken(Object) - Method in AppCenterUploadTask
    -
    applicationIdentifier(Object) - Method in HockeyUploadTask +
    AppCenterBuildInfo - Class in wooga.gradle.appcenter.api +
    +
    AppCenterPlugin - Class in wooga.gradle.appcenter +
    +
    AppCenterUploadTask - Class in wooga.gradle.appcenter.tasks +
    +
    applicationIdentifier(Object) - Method in AppCenterUploadTask
    -
    apply(Project) - Method in HockeyPlugin +
    apply(Project) - Method in AppCenterPlugin
    @@ -138,7 +144,11 @@

    A

    B

    -
    binary(Object) - Method in HockeyUploadTask +
    binary(Object) - Method in AppCenterUploadTask +
    +
    buildInfo(Action<? super AppCenterBuildInfo>) - Method in AppCenterUploadTask +
    +
    buildVersion(Object) - Method in AppCenterUploadTask
    @@ -154,6 +164,10 @@

    C

    D

    +
    destination(String) - Method in AppCenterUploadTask +
    +
    destinationId(String) - Method in AppCenterUploadTask +
    @@ -175,13 +189,27 @@

    F

    G

    -
    getApiToken() - Method in HockeyUploadTask +
    getApiToken() - Method in AppCenterUploadTask +
    +
    getApplicationIdentifier() - Method in AppCenterUploadTask +
    +
    getBinary() - Method in AppCenterUploadTask +
    +
    getBuildInfo() - Method in AppCenterUploadTask +
    +
    getBuildVersion() - Method in AppCenterUploadTask
    -
    getApplicationIdentifier() - Method in HockeyUploadTask +
    getDestinations() - Method in AppCenterUploadTask
    -
    getBinary() - Method in HockeyUploadTask +
    getInputFiles() - Method in AppCenterUploadTask
    -
    getInputFiles() - Method in HockeyUploadTask +
    getOutputFiles() - Method in AppCenterUploadTask +
    +
    getOwner() - Method in AppCenterUploadTask +
    +
    getReleaseId() - Method in AppCenterUploadTask +
    +
    getUploadVersionMetaData() - Method in AppCenterUploadTask
    @@ -190,10 +218,6 @@

    G

    H

    -
    HockeyPlugin - Class in wooga.gradle.hockey -
    -
    HockeyUploadTask - Class in wooga.gradle.hockey.tasks -
    @@ -243,6 +267,8 @@

    N

    O

    +
    owner(Object) - Method in AppCenterUploadTask +
    @@ -264,6 +290,8 @@

    Q

    R

    +
    releaseId(Object) - Method in AppCenterUploadTask +
    @@ -271,11 +299,17 @@

    R

    S

    -
    setApiToken(Object) - Method in HockeyUploadTask +
    setApiToken(Object) - Method in AppCenterUploadTask +
    +
    setApplicationIdentifier(Object) - Method in AppCenterUploadTask +
    +
    setBinary(Object) - Method in AppCenterUploadTask +
    +
    setBuildVersion(Object) - Method in AppCenterUploadTask
    -
    setApplicationIdentifier(Object) - Method in HockeyUploadTask +
    setOwner(Object) - Method in AppCenterUploadTask
    -
    setBinary(Object) - Method in HockeyUploadTask +
    setReleaseId(Object) - Method in AppCenterUploadTask
    @@ -291,7 +325,7 @@

    T

    U

    -
    upload() - Method in HockeyUploadTask +
    upload() - Method in AppCenterUploadTask
    @@ -416,7 +450,7 @@

    _

  • Frames
  • No Frames
  • -
    Gradle HockeyApp plugin API
    +
    Gradle AppCenter plugin API
    diff --git a/docs/api/index.html b/docs/api/index.html index 5d848ce..bdea67b 100644 --- a/docs/api/index.html +++ b/docs/api/index.html @@ -21,7 +21,7 @@ -Index (Gradle HockeyApp plugin API) +Index (Gradle AppCenter plugin API) diff --git a/docs/api/overview-frame.html b/docs/api/overview-frame.html index e3d0c60..4d006ca 100644 --- a/docs/api/overview-frame.html +++ b/docs/api/overview-frame.html @@ -21,7 +21,7 @@ -Overview (Gradle HockeyApp plugin API) +Overview (Gradle AppCenter plugin API) @@ -35,11 +35,14 @@

    Packages

    diff --git a/docs/api/overview-summary.html b/docs/api/overview-summary.html index 1346582..a8951cb 100644 --- a/docs/api/overview-summary.html +++ b/docs/api/overview-summary.html @@ -22,7 +22,7 @@ -Overview (Gradle HockeyApp plugin API) +Overview (Gradle AppCenter plugin API) @@ -32,7 +32,7 @@ @@ -66,7 +66,7 @@
    -

    Gradle HockeyApp plugin API

    +

    Gradle AppCenter plugin API

    @@ -85,13 +85,19 @@

    Gradle HockeyApp plugin API

    - wooga.gradle.hockey + wooga.gradle.appcenter   - wooga.gradle.hockey.tasks + wooga.gradle.appcenter.api +   + + + + + wooga.gradle.appcenter.tasks   @@ -126,7 +132,7 @@

    Gradle HockeyApp plugin API

  • Frames
  • No Frames
  • -
    Gradle HockeyApp plugin API
    +
    Gradle AppCenter plugin API
    diff --git a/docs/api/package-list b/docs/api/package-list index d1c6fa8..21da609 100644 --- a/docs/api/package-list +++ b/docs/api/package-list @@ -1,2 +1,3 @@ -wooga.gradle.hockey -wooga.gradle.hockey.tasks +wooga.gradle.appcenter +wooga.gradle.appcenter.api +wooga.gradle.appcenter.tasks diff --git a/docs/api/wooga/gradle/hockey/HockeyPlugin.html b/docs/api/wooga/gradle/appcenter/AppCenterPlugin.html similarity index 89% rename from docs/api/wooga/gradle/hockey/HockeyPlugin.html rename to docs/api/wooga/gradle/appcenter/AppCenterPlugin.html index e0b38ca..b3b4656 100644 --- a/docs/api/wooga/gradle/hockey/HockeyPlugin.html +++ b/docs/api/wooga/gradle/appcenter/AppCenterPlugin.html @@ -27,7 +27,7 @@ - HockeyPlugin (Gradle HockeyApp plugin API) + AppCenterPlugin (Gradle AppCenter plugin API) @@ -37,7 +37,7 @@ @@ -63,8 +63,8 @@ -
    Gradle HockeyApp plugin API
    +
    Gradle AppCenter plugin API
    diff --git a/docs/api/wooga/gradle/appcenter/tasks/AppCenterUploadTask.html b/docs/api/wooga/gradle/appcenter/tasks/AppCenterUploadTask.html new file mode 100644 index 0000000..2eb45f9 --- /dev/null +++ b/docs/api/wooga/gradle/appcenter/tasks/AppCenterUploadTask.html @@ -0,0 +1,699 @@ + + + + + + + + + + + AppCenterUploadTask (Gradle AppCenter plugin API) + + + + + + + + + + +
    + + + + + +
    + + + + + +
    + +
    Package: wooga.gradle.appcenter.tasks
    + +

    [Groovy] Class AppCenterUploadTask

    +
    +
    +
      +
            • wooga.gradle.appcenter.tasks.AppCenterUploadTask +
            +
            +
              +
            • + + + +
            • +
            +
            + +
            +
              +
            • + + + + + + + +
                +
              • +
                  + + + + + + + + + + + + + + + +
                  Inherited fields 
                  Fields inherited from classFields
                  class org.gradle.api.internal.ConventionTaskTASK_NAME, TASK_DESCRIPTION, TASK_GROUP, TASK_TYPE, TASK_DEPENDS_ON, TASK_OVERWRITE, TASK_ACTION
                  class org.gradle.api.DefaultTaskTASK_NAME, TASK_DESCRIPTION, TASK_GROUP, TASK_TYPE, TASK_DEPENDS_ON, TASK_OVERWRITE, TASK_ACTION
                  +
                +
              • + +
              + + + + + + + + + + + + +
                + +
              • +

                Methods Summary

                + +
              • + +
              • +

                Inherited Methods Summary

                +
                  + + + + + + + + + + + + + + + +
                  Inherited Methods 
                  Methods inherited from className
                  class org.gradle.api.internal.ConventionTaskorg.gradle.api.internal.ConventionTask#conventionMapping(java.lang.String, groovy.lang.Closure), org.gradle.api.internal.ConventionTask#conventionMapping(java.lang.String, java.util.concurrent.Callable), org.gradle.api.internal.ConventionTask#getConventionMapping(), org.gradle.api.internal.ConventionTask#setProperty(java.lang.String, java.lang.Object), org.gradle.api.internal.ConventionTask#toString(), org.gradle.api.internal.ConventionTask#compareTo(java.lang.Object), org.gradle.api.internal.ConventionTask#compareTo(org.gradle.api.Task), org.gradle.api.internal.ConventionTask#getName(), org.gradle.api.internal.ConventionTask#execute(), org.gradle.api.internal.ConventionTask#getActions(), org.gradle.api.internal.ConventionTask#getState(), org.gradle.api.internal.ConventionTask#getState(), org.gradle.api.internal.ConventionTask#getPath(), org.gradle.api.internal.ConventionTask#getExtensions(), org.gradle.api.internal.ConventionTask#configure(groovy.lang.Closure), org.gradle.api.internal.ConventionTask#configure(groovy.lang.Closure), org.gradle.api.internal.ConventionTask#setEnabled(boolean), org.gradle.api.internal.ConventionTask#hasProperty(java.lang.String), org.gradle.api.internal.ConventionTask#getGroup(), org.gradle.api.internal.ConventionTask#setGroup(java.lang.String), org.gradle.api.internal.ConventionTask#getStandardOutputCapture(), org.gradle.api.internal.ConventionTask#getIdentityPath(), org.gradle.api.internal.ConventionTask#getAnt(), org.gradle.api.internal.ConventionTask#getConvention(), org.gradle.api.internal.ConventionTask#getLogging(), org.gradle.api.internal.ConventionTask#getLogging(), org.gradle.api.internal.ConventionTask#isHasCustomActions(), org.gradle.api.internal.ConventionTask#setDescription(java.lang.String), org.gradle.api.internal.ConventionTask#isEnabled(), org.gradle.api.internal.ConventionTask#property(java.lang.String), org.gradle.api.internal.ConventionTask#getDescription(), org.gradle.api.internal.ConventionTask#getInputs(), org.gradle.api.internal.ConventionTask#getInputs(), org.gradle.api.internal.ConventionTask#getProject(), org.gradle.api.internal.ConventionTask#getAsDynamicObject(), org.gradle.api.internal.ConventionTask#getLogger(), org.gradle.api.internal.ConventionTask#getTaskActions(), org.gradle.api.internal.ConventionTask#setActions(java.util.List), org.gradle.api.internal.ConventionTask#getTaskDependencies(), org.gradle.api.internal.ConventionTask#getTaskDependencies(), org.gradle.api.internal.ConventionTask#getDependsOn(), org.gradle.api.internal.ConventionTask#setDependsOn(java.lang.Iterable), org.gradle.api.internal.ConventionTask#dependsOn([Ljava.lang.Object;), org.gradle.api.internal.ConventionTask#setOnlyIf(org.gradle.api.specs.Spec), org.gradle.api.internal.ConventionTask#setOnlyIf(groovy.lang.Closure), org.gradle.api.internal.ConventionTask#setDidWork(boolean), org.gradle.api.internal.ConventionTask#getDidWork(), org.gradle.api.internal.ConventionTask#doLast(org.gradle.api.Action), org.gradle.api.internal.ConventionTask#doLast(java.lang.String, org.gradle.api.Action), org.gradle.api.internal.ConventionTask#doLast(groovy.lang.Closure), org.gradle.api.internal.ConventionTask#deleteAllActions(), org.gradle.api.internal.ConventionTask#getEnabled(), org.gradle.api.internal.ConventionTask#dependsOnTaskDidWork(), org.gradle.api.internal.ConventionTask#getOutputs(), org.gradle.api.internal.ConventionTask#getOutputs(), org.gradle.api.internal.ConventionTask#getDestroyables(), org.gradle.api.internal.ConventionTask#getLocalState(), org.gradle.api.internal.ConventionTask#getTemporaryDir(), org.gradle.api.internal.ConventionTask#mustRunAfter([Ljava.lang.Object;), org.gradle.api.internal.ConventionTask#setMustRunAfter(java.lang.Iterable), org.gradle.api.internal.ConventionTask#getMustRunAfter(), org.gradle.api.internal.ConventionTask#finalizedBy([Ljava.lang.Object;), org.gradle.api.internal.ConventionTask#setFinalizedBy(java.lang.Iterable), org.gradle.api.internal.ConventionTask#getFinalizedBy(), org.gradle.api.internal.ConventionTask#shouldRunAfter([Ljava.lang.Object;), org.gradle.api.internal.ConventionTask#setShouldRunAfter(java.lang.Iterable), org.gradle.api.internal.ConventionTask#getShouldRunAfter(), org.gradle.api.internal.ConventionTask#onlyIf(org.gradle.api.specs.Spec), org.gradle.api.internal.ConventionTask#onlyIf(groovy.lang.Closure), org.gradle.api.internal.ConventionTask#doFirst(groovy.lang.Closure), org.gradle.api.internal.ConventionTask#doFirst(org.gradle.api.Action), org.gradle.api.internal.ConventionTask#doFirst(java.lang.String, org.gradle.api.Action), org.gradle.api.internal.ConventionTask#getExecuter(), org.gradle.api.internal.ConventionTask#setExecuter(org.gradle.api.internal.tasks.TaskExecuter), org.gradle.api.internal.ConventionTask#getTemporaryDirFactory(), org.gradle.api.internal.ConventionTask#addValidator(org.gradle.api.internal.tasks.execution.TaskValidator), org.gradle.api.internal.ConventionTask#getValidators(), org.gradle.api.internal.ConventionTask#prependParallelSafeAction(org.gradle.api.Action), org.gradle.api.internal.ConventionTask#appendParallelSafeAction(org.gradle.api.Action), org.gradle.api.internal.ConventionTask#getOnlyIf(), org.gradle.api.internal.ConventionTask#getImpliesSubProjects(), org.gradle.api.internal.ConventionTask#setImpliesSubProjects(boolean), org.gradle.api.internal.ConventionTask#injectIntoNewInstance(org.gradle.api.internal.project.ProjectInternal, java.lang.String, java.lang.Class, java.util.concurrent.Callable), org.gradle.api.internal.ConventionTask#leftShift(groovy.lang.Closure), org.gradle.api.internal.ConventionTask#wait(long, int), org.gradle.api.internal.ConventionTask#wait(long), org.gradle.api.internal.ConventionTask#wait(), org.gradle.api.internal.ConventionTask#equals(java.lang.Object), org.gradle.api.internal.ConventionTask#hashCode(), org.gradle.api.internal.ConventionTask#getClass(), org.gradle.api.internal.ConventionTask#notify(), org.gradle.api.internal.ConventionTask#notifyAll()
                  class org.gradle.api.DefaultTaskorg.gradle.api.DefaultTask#setProperty(java.lang.String, java.lang.Object), org.gradle.api.DefaultTask#toString(), org.gradle.api.DefaultTask#compareTo(java.lang.Object), org.gradle.api.DefaultTask#compareTo(org.gradle.api.Task), org.gradle.api.DefaultTask#getName(), org.gradle.api.DefaultTask#execute(), org.gradle.api.DefaultTask#getActions(), org.gradle.api.DefaultTask#getState(), org.gradle.api.DefaultTask#getState(), org.gradle.api.DefaultTask#getPath(), org.gradle.api.DefaultTask#getExtensions(), org.gradle.api.DefaultTask#configure(groovy.lang.Closure), org.gradle.api.DefaultTask#configure(groovy.lang.Closure), org.gradle.api.DefaultTask#setEnabled(boolean), org.gradle.api.DefaultTask#hasProperty(java.lang.String), org.gradle.api.DefaultTask#getGroup(), org.gradle.api.DefaultTask#setGroup(java.lang.String), org.gradle.api.DefaultTask#getStandardOutputCapture(), org.gradle.api.DefaultTask#getIdentityPath(), org.gradle.api.DefaultTask#getAnt(), org.gradle.api.DefaultTask#getConvention(), org.gradle.api.DefaultTask#getLogging(), org.gradle.api.DefaultTask#getLogging(), org.gradle.api.DefaultTask#isHasCustomActions(), org.gradle.api.DefaultTask#setDescription(java.lang.String), org.gradle.api.DefaultTask#isEnabled(), org.gradle.api.DefaultTask#property(java.lang.String), org.gradle.api.DefaultTask#getDescription(), org.gradle.api.DefaultTask#getInputs(), org.gradle.api.DefaultTask#getInputs(), org.gradle.api.DefaultTask#getProject(), org.gradle.api.DefaultTask#getAsDynamicObject(), org.gradle.api.DefaultTask#getLogger(), org.gradle.api.DefaultTask#getTaskActions(), org.gradle.api.DefaultTask#setActions(java.util.List), org.gradle.api.DefaultTask#getTaskDependencies(), org.gradle.api.DefaultTask#getTaskDependencies(), org.gradle.api.DefaultTask#getDependsOn(), org.gradle.api.DefaultTask#setDependsOn(java.lang.Iterable), org.gradle.api.DefaultTask#dependsOn([Ljava.lang.Object;), org.gradle.api.DefaultTask#setOnlyIf(org.gradle.api.specs.Spec), org.gradle.api.DefaultTask#setOnlyIf(groovy.lang.Closure), org.gradle.api.DefaultTask#setDidWork(boolean), org.gradle.api.DefaultTask#getDidWork(), org.gradle.api.DefaultTask#doLast(org.gradle.api.Action), org.gradle.api.DefaultTask#doLast(java.lang.String, org.gradle.api.Action), org.gradle.api.DefaultTask#doLast(groovy.lang.Closure), org.gradle.api.DefaultTask#deleteAllActions(), org.gradle.api.DefaultTask#getEnabled(), org.gradle.api.DefaultTask#dependsOnTaskDidWork(), org.gradle.api.DefaultTask#getOutputs(), org.gradle.api.DefaultTask#getOutputs(), org.gradle.api.DefaultTask#getDestroyables(), org.gradle.api.DefaultTask#getLocalState(), org.gradle.api.DefaultTask#getTemporaryDir(), org.gradle.api.DefaultTask#mustRunAfter([Ljava.lang.Object;), org.gradle.api.DefaultTask#setMustRunAfter(java.lang.Iterable), org.gradle.api.DefaultTask#getMustRunAfter(), org.gradle.api.DefaultTask#finalizedBy([Ljava.lang.Object;), org.gradle.api.DefaultTask#setFinalizedBy(java.lang.Iterable), org.gradle.api.DefaultTask#getFinalizedBy(), org.gradle.api.DefaultTask#shouldRunAfter([Ljava.lang.Object;), org.gradle.api.DefaultTask#setShouldRunAfter(java.lang.Iterable), org.gradle.api.DefaultTask#getShouldRunAfter(), org.gradle.api.DefaultTask#onlyIf(org.gradle.api.specs.Spec), org.gradle.api.DefaultTask#onlyIf(groovy.lang.Closure), org.gradle.api.DefaultTask#doFirst(groovy.lang.Closure), org.gradle.api.DefaultTask#doFirst(org.gradle.api.Action), org.gradle.api.DefaultTask#doFirst(java.lang.String, org.gradle.api.Action), org.gradle.api.DefaultTask#getExecuter(), org.gradle.api.DefaultTask#setExecuter(org.gradle.api.internal.tasks.TaskExecuter), org.gradle.api.DefaultTask#getTemporaryDirFactory(), org.gradle.api.DefaultTask#addValidator(org.gradle.api.internal.tasks.execution.TaskValidator), org.gradle.api.DefaultTask#getValidators(), org.gradle.api.DefaultTask#prependParallelSafeAction(org.gradle.api.Action), org.gradle.api.DefaultTask#appendParallelSafeAction(org.gradle.api.Action), org.gradle.api.DefaultTask#getOnlyIf(), org.gradle.api.DefaultTask#getImpliesSubProjects(), org.gradle.api.DefaultTask#setImpliesSubProjects(boolean), org.gradle.api.DefaultTask#injectIntoNewInstance(org.gradle.api.internal.project.ProjectInternal, java.lang.String, java.lang.Class, java.util.concurrent.Callable), org.gradle.api.DefaultTask#leftShift(groovy.lang.Closure), org.gradle.api.DefaultTask#wait(long, int), org.gradle.api.DefaultTask#wait(long), org.gradle.api.DefaultTask#wait(), org.gradle.api.DefaultTask#equals(java.lang.Object), org.gradle.api.DefaultTask#hashCode(), org.gradle.api.DefaultTask#getClass(), org.gradle.api.DefaultTask#notify(), org.gradle.api.DefaultTask#notifyAll()
                  +
                +
              • + +
              + +
            • +
            +
            + +
            +
              +
            • + + + + + + + + + + + + + +
                +
              • + + +

                Method Detail

                + + + + + + + + + + + +
                  +
                • +

                  void buildInfo(groovy.lang.Closure closure)

                  +

                  +
                • +
                + + + + + + + + +
                  +
                • +

                  void destination(java.lang.String name)

                  +

                  +
                • +
                + + +
                  +
                • +

                  void destination(java.lang.Iterable<java.lang.String> destinations)

                  +

                  +
                • +
                + + +
                  +
                • +

                  void destination(java.lang.String... destinations)

                  +

                  +
                • +
                + + +
                  +
                • +

                  void destinationId(java.lang.String id)

                  +

                  +
                • +
                + + +
                  +
                • +

                  @org.gradle.api.tasks.Input +java.lang.String getApiToken()

                  +

                  +
                • +
                + + +
                  +
                • +

                  @org.gradle.api.tasks.Input +java.lang.String getApplicationIdentifier()

                  +

                  +
                • +
                + + +
                  +
                • +

                  java.io.File getBinary()

                  +

                  +
                • +
                + + + + + +
                  +
                • +

                  @org.gradle.api.tasks.Input +java.lang.String getBuildVersion()

                  +

                  +
                • +
                + + +
                  +
                • +

                  @org.gradle.api.tasks.Input +protected java.util.List<java.util.Map<java.lang.String, java.lang.String>> getDestinations()

                  +

                  +
                • +
                + + +
                  +
                • +

                  @org.gradle.api.tasks.SkipWhenEmpty +@org.gradle.api.tasks.InputFiles +protected org.gradle.api.file.FileCollection getInputFiles()

                  +

                  +
                • +
                + + +
                  +
                • +

                  @org.gradle.api.tasks.OutputFiles +protected org.gradle.api.file.FileCollection getOutputFiles()

                  +

                  +
                • +
                + + +
                  +
                • +

                  @org.gradle.api.tasks.Input +java.lang.String getOwner()

                  +

                  +
                • +
                + + +
                  +
                • +

                  @java.util.Optional +@org.gradle.api.tasks.Input +int getReleaseId()

                  +

                  +
                • +
                + + +
                  +
                • +

                  java.io.File getUploadVersionMetaData()

                  +

                  +
                • +
                + + + + + + + + +
                  +
                • +

                  void setApiToken(java.lang.Object value)

                  +

                  +
                • +
                + + +
                  +
                • +

                  void setApplicationIdentifier(java.lang.Object value)

                  +

                  +
                • +
                + + +
                  +
                • +

                  void setBinary(java.lang.Object value)

                  +

                  +
                • +
                + + +
                  +
                • +

                  void setBuildVersion(java.lang.Object value)

                  +

                  +
                • +
                + + +
                  +
                • +

                  void setOwner(java.lang.Object value)

                  +

                  +
                • +
                + + +
                  +
                • +

                  void setReleaseId(java.lang.Object value)

                  +

                  +
                • +
                + + +
                  +
                • +

                  @org.gradle.api.tasks.TaskAction +protected void upload()

                  +

                  +
                • +
                + +
              • +
              + +
            • +
            +
            + + + +
            + + + + + +
            + + +
            + + + diff --git a/docs/api/wooga/gradle/appcenter/tasks/package-frame.html b/docs/api/wooga/gradle/appcenter/tasks/package-frame.html new file mode 100644 index 0000000..81477af --- /dev/null +++ b/docs/api/wooga/gradle/appcenter/tasks/package-frame.html @@ -0,0 +1,58 @@ + + + + + wooga.gradle.appcenter.tasks + + + + + + + + + + + + + + + + +
            +

            Classes

            + +
            + + + + + + + + + + diff --git a/docs/api/wooga/gradle/appcenter/tasks/package-summary.html b/docs/api/wooga/gradle/appcenter/tasks/package-summary.html new file mode 100644 index 0000000..fd4fefa --- /dev/null +++ b/docs/api/wooga/gradle/appcenter/tasks/package-summary.html @@ -0,0 +1,144 @@ + + + + + +wooga.gradle.appcenter.tasks (Gradle AppCenter plugin API) + + + + + + + + + + + + + +
            + + + + + + +
            + + + + + +
            +

            Package wooga.gradle.appcenter.tasks

            +
            + + + +
            + + + + +
            + +
            + + + + + + + +
            + + +
            + + + + + +
            + + + + + diff --git a/docs/api/wooga/gradle/hockey/tasks/HockeyUploadTask.html b/docs/api/wooga/gradle/hockey/tasks/HockeyUploadTask.html deleted file mode 100644 index f62ec97..0000000 --- a/docs/api/wooga/gradle/hockey/tasks/HockeyUploadTask.html +++ /dev/null @@ -1,426 +0,0 @@ - - - - - - - - - - - HockeyUploadTask (Gradle HockeyApp plugin API) - - - - - - - - - - -
            - - - - - -
            - - - - - -
            - -
            Package: wooga.gradle.hockey.tasks
            - -

            [Groovy] Class HockeyUploadTask

            -
            -
            -
              -
                    • wooga.gradle.hockey.tasks.HockeyUploadTask -
                    -
                    -
                      -
                    • - - - -
                    • -
                    -
                    - -
                    -
                      -
                    • - - - - - - - -
                        -
                      • -
                          - - - - - - - - - - - - - - - -
                          Inherited fields 
                          Fields inherited from classFields
                          class org.gradle.api.internal.ConventionTaskTASK_NAME, TASK_DESCRIPTION, TASK_GROUP, TASK_TYPE, TASK_DEPENDS_ON, TASK_OVERWRITE, TASK_ACTION
                          class org.gradle.api.DefaultTaskTASK_NAME, TASK_DESCRIPTION, TASK_GROUP, TASK_TYPE, TASK_DEPENDS_ON, TASK_OVERWRITE, TASK_ACTION
                          -
                        -
                      • - -
                      - - - - - - - - - - - - -
                        - -
                      • -

                        Methods Summary

                        - -
                      • - -
                      • -

                        Inherited Methods Summary

                        -
                          - - - - - - - - - - - - - - - -
                          Inherited Methods 
                          Methods inherited from className
                          class org.gradle.api.internal.ConventionTaskorg.gradle.api.internal.ConventionTask#getConventionMapping(), org.gradle.api.internal.ConventionTask#conventionMapping(java.lang.String, java.util.concurrent.Callable), org.gradle.api.internal.ConventionTask#conventionMapping(java.lang.String, groovy.lang.Closure), org.gradle.api.internal.ConventionTask#setProperty(java.lang.String, java.lang.Object), org.gradle.api.internal.ConventionTask#toString(), org.gradle.api.internal.ConventionTask#compareTo(org.gradle.api.Task), org.gradle.api.internal.ConventionTask#compareTo(java.lang.Object), org.gradle.api.internal.ConventionTask#getName(), org.gradle.api.internal.ConventionTask#execute(), org.gradle.api.internal.ConventionTask#getActions(), org.gradle.api.internal.ConventionTask#getState(), org.gradle.api.internal.ConventionTask#getState(), org.gradle.api.internal.ConventionTask#getPath(), org.gradle.api.internal.ConventionTask#getExtensions(), org.gradle.api.internal.ConventionTask#getAnt(), org.gradle.api.internal.ConventionTask#setGroup(java.lang.String), org.gradle.api.internal.ConventionTask#getStandardOutputCapture(), org.gradle.api.internal.ConventionTask#getIdentityPath(), org.gradle.api.internal.ConventionTask#getConvention(), org.gradle.api.internal.ConventionTask#getLogging(), org.gradle.api.internal.ConventionTask#getLogging(), org.gradle.api.internal.ConventionTask#getAsDynamicObject(), org.gradle.api.internal.ConventionTask#setEnabled(boolean), org.gradle.api.internal.ConventionTask#getDescription(), org.gradle.api.internal.ConventionTask#getProject(), org.gradle.api.internal.ConventionTask#isEnabled(), org.gradle.api.internal.ConventionTask#configure(groovy.lang.Closure), org.gradle.api.internal.ConventionTask#configure(groovy.lang.Closure), org.gradle.api.internal.ConventionTask#property(java.lang.String), org.gradle.api.internal.ConventionTask#hasProperty(java.lang.String), org.gradle.api.internal.ConventionTask#getGroup(), org.gradle.api.internal.ConventionTask#getInputs(), org.gradle.api.internal.ConventionTask#getInputs(), org.gradle.api.internal.ConventionTask#setDescription(java.lang.String), org.gradle.api.internal.ConventionTask#getTaskActions(), org.gradle.api.internal.ConventionTask#isHasCustomActions(), org.gradle.api.internal.ConventionTask#doLast(groovy.lang.Closure), org.gradle.api.internal.ConventionTask#doLast(java.lang.String, org.gradle.api.Action), org.gradle.api.internal.ConventionTask#doLast(org.gradle.api.Action), org.gradle.api.internal.ConventionTask#deleteAllActions(), org.gradle.api.internal.ConventionTask#getEnabled(), org.gradle.api.internal.ConventionTask#dependsOnTaskDidWork(), org.gradle.api.internal.ConventionTask#getOutputs(), org.gradle.api.internal.ConventionTask#getOutputs(), org.gradle.api.internal.ConventionTask#getDestroyables(), org.gradle.api.internal.ConventionTask#getLocalState(), org.gradle.api.internal.ConventionTask#getTemporaryDir(), org.gradle.api.internal.ConventionTask#mustRunAfter([Ljava.lang.Object;), org.gradle.api.internal.ConventionTask#setMustRunAfter(java.lang.Iterable), org.gradle.api.internal.ConventionTask#getMustRunAfter(), org.gradle.api.internal.ConventionTask#finalizedBy([Ljava.lang.Object;), org.gradle.api.internal.ConventionTask#setFinalizedBy(java.lang.Iterable), org.gradle.api.internal.ConventionTask#getFinalizedBy(), org.gradle.api.internal.ConventionTask#onlyIf(groovy.lang.Closure), org.gradle.api.internal.ConventionTask#onlyIf(org.gradle.api.specs.Spec), org.gradle.api.internal.ConventionTask#doFirst(org.gradle.api.Action), org.gradle.api.internal.ConventionTask#doFirst(groovy.lang.Closure), org.gradle.api.internal.ConventionTask#doFirst(java.lang.String, org.gradle.api.Action), org.gradle.api.internal.ConventionTask#setActions(java.util.List), org.gradle.api.internal.ConventionTask#getTaskDependencies(), org.gradle.api.internal.ConventionTask#getTaskDependencies(), org.gradle.api.internal.ConventionTask#getDependsOn(), org.gradle.api.internal.ConventionTask#setDependsOn(java.lang.Iterable), org.gradle.api.internal.ConventionTask#dependsOn([Ljava.lang.Object;), org.gradle.api.internal.ConventionTask#setOnlyIf(org.gradle.api.specs.Spec), org.gradle.api.internal.ConventionTask#setOnlyIf(groovy.lang.Closure), org.gradle.api.internal.ConventionTask#setDidWork(boolean), org.gradle.api.internal.ConventionTask#getDidWork(), org.gradle.api.internal.ConventionTask#shouldRunAfter([Ljava.lang.Object;), org.gradle.api.internal.ConventionTask#setShouldRunAfter(java.lang.Iterable), org.gradle.api.internal.ConventionTask#getShouldRunAfter(), org.gradle.api.internal.ConventionTask#injectIntoNewInstance(org.gradle.api.internal.project.ProjectInternal, java.lang.String, java.lang.Class, java.util.concurrent.Callable), org.gradle.api.internal.ConventionTask#getOnlyIf(), org.gradle.api.internal.ConventionTask#getImpliesSubProjects(), org.gradle.api.internal.ConventionTask#setImpliesSubProjects(boolean), org.gradle.api.internal.ConventionTask#getExecuter(), org.gradle.api.internal.ConventionTask#setExecuter(org.gradle.api.internal.tasks.TaskExecuter), org.gradle.api.internal.ConventionTask#getTemporaryDirFactory(), org.gradle.api.internal.ConventionTask#addValidator(org.gradle.api.internal.tasks.execution.TaskValidator), org.gradle.api.internal.ConventionTask#getValidators(), org.gradle.api.internal.ConventionTask#prependParallelSafeAction(org.gradle.api.Action), org.gradle.api.internal.ConventionTask#appendParallelSafeAction(org.gradle.api.Action), org.gradle.api.internal.ConventionTask#getLogger(), org.gradle.api.internal.ConventionTask#leftShift(groovy.lang.Closure), org.gradle.api.internal.ConventionTask#wait(long, int), org.gradle.api.internal.ConventionTask#wait(long), org.gradle.api.internal.ConventionTask#wait(), org.gradle.api.internal.ConventionTask#equals(java.lang.Object), org.gradle.api.internal.ConventionTask#hashCode(), org.gradle.api.internal.ConventionTask#getClass(), org.gradle.api.internal.ConventionTask#notify(), org.gradle.api.internal.ConventionTask#notifyAll()
                          class org.gradle.api.DefaultTaskorg.gradle.api.DefaultTask#setProperty(java.lang.String, java.lang.Object), org.gradle.api.DefaultTask#toString(), org.gradle.api.DefaultTask#compareTo(org.gradle.api.Task), org.gradle.api.DefaultTask#compareTo(java.lang.Object), org.gradle.api.DefaultTask#getName(), org.gradle.api.DefaultTask#execute(), org.gradle.api.DefaultTask#getActions(), org.gradle.api.DefaultTask#getState(), org.gradle.api.DefaultTask#getState(), org.gradle.api.DefaultTask#getPath(), org.gradle.api.DefaultTask#getExtensions(), org.gradle.api.DefaultTask#getAnt(), org.gradle.api.DefaultTask#setGroup(java.lang.String), org.gradle.api.DefaultTask#getStandardOutputCapture(), org.gradle.api.DefaultTask#getIdentityPath(), org.gradle.api.DefaultTask#getConvention(), org.gradle.api.DefaultTask#getLogging(), org.gradle.api.DefaultTask#getLogging(), org.gradle.api.DefaultTask#getAsDynamicObject(), org.gradle.api.DefaultTask#setEnabled(boolean), org.gradle.api.DefaultTask#getDescription(), org.gradle.api.DefaultTask#getProject(), org.gradle.api.DefaultTask#isEnabled(), org.gradle.api.DefaultTask#configure(groovy.lang.Closure), org.gradle.api.DefaultTask#configure(groovy.lang.Closure), org.gradle.api.DefaultTask#property(java.lang.String), org.gradle.api.DefaultTask#hasProperty(java.lang.String), org.gradle.api.DefaultTask#getGroup(), org.gradle.api.DefaultTask#getInputs(), org.gradle.api.DefaultTask#getInputs(), org.gradle.api.DefaultTask#setDescription(java.lang.String), org.gradle.api.DefaultTask#getTaskActions(), org.gradle.api.DefaultTask#isHasCustomActions(), org.gradle.api.DefaultTask#doLast(groovy.lang.Closure), org.gradle.api.DefaultTask#doLast(java.lang.String, org.gradle.api.Action), org.gradle.api.DefaultTask#doLast(org.gradle.api.Action), org.gradle.api.DefaultTask#deleteAllActions(), org.gradle.api.DefaultTask#getEnabled(), org.gradle.api.DefaultTask#dependsOnTaskDidWork(), org.gradle.api.DefaultTask#getOutputs(), org.gradle.api.DefaultTask#getOutputs(), org.gradle.api.DefaultTask#getDestroyables(), org.gradle.api.DefaultTask#getLocalState(), org.gradle.api.DefaultTask#getTemporaryDir(), org.gradle.api.DefaultTask#mustRunAfter([Ljava.lang.Object;), org.gradle.api.DefaultTask#setMustRunAfter(java.lang.Iterable), org.gradle.api.DefaultTask#getMustRunAfter(), org.gradle.api.DefaultTask#finalizedBy([Ljava.lang.Object;), org.gradle.api.DefaultTask#setFinalizedBy(java.lang.Iterable), org.gradle.api.DefaultTask#getFinalizedBy(), org.gradle.api.DefaultTask#onlyIf(groovy.lang.Closure), org.gradle.api.DefaultTask#onlyIf(org.gradle.api.specs.Spec), org.gradle.api.DefaultTask#doFirst(org.gradle.api.Action), org.gradle.api.DefaultTask#doFirst(groovy.lang.Closure), org.gradle.api.DefaultTask#doFirst(java.lang.String, org.gradle.api.Action), org.gradle.api.DefaultTask#setActions(java.util.List), org.gradle.api.DefaultTask#getTaskDependencies(), org.gradle.api.DefaultTask#getTaskDependencies(), org.gradle.api.DefaultTask#getDependsOn(), org.gradle.api.DefaultTask#setDependsOn(java.lang.Iterable), org.gradle.api.DefaultTask#dependsOn([Ljava.lang.Object;), org.gradle.api.DefaultTask#setOnlyIf(org.gradle.api.specs.Spec), org.gradle.api.DefaultTask#setOnlyIf(groovy.lang.Closure), org.gradle.api.DefaultTask#setDidWork(boolean), org.gradle.api.DefaultTask#getDidWork(), org.gradle.api.DefaultTask#shouldRunAfter([Ljava.lang.Object;), org.gradle.api.DefaultTask#setShouldRunAfter(java.lang.Iterable), org.gradle.api.DefaultTask#getShouldRunAfter(), org.gradle.api.DefaultTask#injectIntoNewInstance(org.gradle.api.internal.project.ProjectInternal, java.lang.String, java.lang.Class, java.util.concurrent.Callable), org.gradle.api.DefaultTask#getOnlyIf(), org.gradle.api.DefaultTask#getImpliesSubProjects(), org.gradle.api.DefaultTask#setImpliesSubProjects(boolean), org.gradle.api.DefaultTask#getExecuter(), org.gradle.api.DefaultTask#setExecuter(org.gradle.api.internal.tasks.TaskExecuter), org.gradle.api.DefaultTask#getTemporaryDirFactory(), org.gradle.api.DefaultTask#addValidator(org.gradle.api.internal.tasks.execution.TaskValidator), org.gradle.api.DefaultTask#getValidators(), org.gradle.api.DefaultTask#prependParallelSafeAction(org.gradle.api.Action), org.gradle.api.DefaultTask#appendParallelSafeAction(org.gradle.api.Action), org.gradle.api.DefaultTask#getLogger(), org.gradle.api.DefaultTask#leftShift(groovy.lang.Closure), org.gradle.api.DefaultTask#wait(long, int), org.gradle.api.DefaultTask#wait(long), org.gradle.api.DefaultTask#wait(), org.gradle.api.DefaultTask#equals(java.lang.Object), org.gradle.api.DefaultTask#hashCode(), org.gradle.api.DefaultTask#getClass(), org.gradle.api.DefaultTask#notify(), org.gradle.api.DefaultTask#notifyAll()
                          -
                        -
                      • - -
                      - -
                    • -
                    -
                    - -
                    -
                      -
                    • - - - - - - - - - - - - - -
                        -
                      • - - -

                        Method Detail

                        - - - - - -
                          -
                        • -

                          HockeyUploadTask applicationIdentifier(java.lang.Object applicationIdentifier)

                          -

                          -
                        • -
                        - - - - - -
                          -
                        • -

                          @org.gradle.api.tasks.Input -java.lang.String getApiToken()

                          -

                          -
                        • -
                        - - -
                          -
                        • -

                          @org.gradle.api.tasks.Input -java.lang.String getApplicationIdentifier()

                          -

                          -
                        • -
                        - - -
                          -
                        • -

                          java.io.File getBinary()

                          -

                          -
                        • -
                        - - -
                          -
                        • -

                          @org.gradle.api.tasks.SkipWhenEmpty -@org.gradle.api.tasks.InputFiles -protected org.gradle.api.file.FileCollection getInputFiles()

                          -

                          -
                        • -
                        - - -
                          -
                        • -

                          void setApiToken(java.lang.Object value)

                          -

                          -
                        • -
                        - - -
                          -
                        • -

                          void setApplicationIdentifier(java.lang.Object value)

                          -

                          -
                        • -
                        - - -
                          -
                        • -

                          void setBinary(java.lang.Object value)

                          -

                          -
                        • -
                        - - -
                          -
                        • -

                          @org.gradle.api.tasks.TaskAction -protected void upload()

                          -

                          -
                        • -
                        - -
                      • -
                      - -
                    • -
                    -
                    - - - -
                    - - - - - -
                    - - -
                    - - - diff --git a/settings.gradle b/settings.gradle index 9950b99..95f2dc6 100644 --- a/settings.gradle +++ b/settings.gradle @@ -14,4 +14,4 @@ * limitations under the License. */ -rootProject.name = 'atlas-hockey' +rootProject.name = 'atlas-appcenter' diff --git a/src/integrationTest/groovy/wooga/gradle/hockey/IntegrationSpec.groovy b/src/integrationTest/groovy/wooga/gradle/appcenter/IntegrationSpec.groovy similarity index 98% rename from src/integrationTest/groovy/wooga/gradle/hockey/IntegrationSpec.groovy rename to src/integrationTest/groovy/wooga/gradle/appcenter/IntegrationSpec.groovy index 8d05e24..03befd4 100644 --- a/src/integrationTest/groovy/wooga/gradle/hockey/IntegrationSpec.groovy +++ b/src/integrationTest/groovy/wooga/gradle/appcenter/IntegrationSpec.groovy @@ -14,7 +14,7 @@ * limitations under the License. */ -package wooga.gradle.hockey +package wooga.gradle.appcenter import groovy.json.StringEscapeUtils import nebula.test.functional.ExecutionResult diff --git a/src/integrationTest/groovy/wooga/gradle/hockey/tasks/AppCenterUploadTaskIntegrationSpec.groovy b/src/integrationTest/groovy/wooga/gradle/appcenter/tasks/AppCenterUploadTaskIntegrationSpec.groovy similarity index 97% rename from src/integrationTest/groovy/wooga/gradle/hockey/tasks/AppCenterUploadTaskIntegrationSpec.groovy rename to src/integrationTest/groovy/wooga/gradle/appcenter/tasks/AppCenterUploadTaskIntegrationSpec.groovy index d9a4436..396b0bc 100644 --- a/src/integrationTest/groovy/wooga/gradle/hockey/tasks/AppCenterUploadTaskIntegrationSpec.groovy +++ b/src/integrationTest/groovy/wooga/gradle/appcenter/tasks/AppCenterUploadTaskIntegrationSpec.groovy @@ -15,7 +15,7 @@ * */ -package wooga.gradle.hockey.tasks +package wooga.gradle.appcenter.tasks import groovy.json.JsonOutput import groovy.json.JsonSlurper @@ -27,8 +27,8 @@ import org.apache.http.client.methods.HttpDelete import org.apache.http.entity.ContentType import org.apache.http.entity.StringEntity import org.apache.http.impl.client.HttpClientBuilder -import wooga.gradle.hockey.HockeyPlugin -import wooga.gradle.hockey.IntegrationSpec +import wooga.gradle.appcenter.AppCenterPlugin +import wooga.gradle.appcenter.IntegrationSpec class AppCenterUploadTaskIntegrationSpec extends IntegrationSpec { static String apiToken = System.env["ATLAS_APP_CENTER_INTEGRATION_API_TOKEN"] @@ -38,7 +38,7 @@ class AppCenterUploadTaskIntegrationSpec extends IntegrationSpec { def setup() { buildFile << """ version = "0.1.0" - ${applyPlugin(HockeyPlugin)} + ${applyPlugin(AppCenterPlugin)} publishAppCenter { owner = "$owner" apiToken = "$apiToken" diff --git a/src/integrationTest/groovy/wooga/gradle/hockey/HockeyPluginIntegrationSpec.groovy b/src/integrationTest/groovy/wooga/gradle/hockey/HockeyPluginIntegrationSpec.groovy deleted file mode 100644 index 5ea5336..0000000 --- a/src/integrationTest/groovy/wooga/gradle/hockey/HockeyPluginIntegrationSpec.groovy +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2018 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package wooga.gradle.hockey - -class HockeyPluginIntegrationSpec extends IntegrationSpec{ - - // HockeyApp used for testing: https://rink.hockeyapp.net/manage/apps/814327 - static String apiToken = System.env["ATLAS_HOCKEY_INTEGRATION_API_TOKEN"] - static String applicationIdentifier = System.env["ATLAS_HOCKEY_INTEGRATION_APPLICATION_IDENTIFIER"] - - def setup() { - buildFile << """ - ${applyPlugin(HockeyPlugin)} - publishHockey { - apiToken = "$apiToken" - applicationIdentifier = "$applicationIdentifier" - } - """.stripIndent() - } - - def "uploads dummy ipa to HockeyApp successfully"() { - given: "a dummy ipa binary to upload" - - def testFile = getClass().getClassLoader().getResource("test.ipa").path - buildFile << """ - publishHockey.binary = "$testFile" - """.stripIndent() - - expect: - runTasksSuccessfully("publishHockey") - } - - def "writes json file with uploaded version meta data"() { - given: "a dummy ipa binary to upload" - - def testFile = getClass().getClassLoader().getResource("test.ipa").path - buildFile << """ - publishHockey.binary = "$testFile" - """.stripIndent() - - and: "a future version meta file" - def versionMeta = new File(projectDir,"build/tmp/publishHockey/${applicationIdentifier}.json") - assert !versionMeta.exists() - - when: - runTasksSuccessfully("publishHockey") - - then: - versionMeta.exists() - } - - def "can access version model after a successfull publish"() { - given: "a dummy ipa binary to upload" - - def testFile = getClass().getClassLoader().getResource("test.ipa").path - buildFile << """ - publishHockey.binary = "$testFile" - """.stripIndent() - - and: "a task that depends on publishHockey" - buildFile << """ - task workAfterPublish { - dependsOn publishHockey - - doLast { - def appVersion = publishHockey.appVersion - println("published app: " + appVersion.title) - } - } - """.stripIndent() - - when: - def result = runTasksSuccessfully("workAfterPublish") - - then: - result.wasExecuted("publishHockey") - outputContains(result, "published app: WoogaUnityUnifiedBuildSystemTest") - } - - def "uploading invalid ipa to HockeyApp fails"() { - given: "a generated invalid file" - - def emptyFile = createFile("test.ipa").path - - buildFile << """ - publishHockey.binary = "$emptyFile" - """.stripIndent() - - expect: - runTasksWithFailure("publishHockey") - } -} diff --git a/src/main/groovy/wooga/gradle/hockey/HockeyPlugin.groovy b/src/main/groovy/wooga/gradle/appcenter/AppCenterPlugin.groovy similarity index 74% rename from src/main/groovy/wooga/gradle/hockey/HockeyPlugin.groovy rename to src/main/groovy/wooga/gradle/appcenter/AppCenterPlugin.groovy index 4ae2b6d..3e206b4 100644 --- a/src/main/groovy/wooga/gradle/hockey/HockeyPlugin.groovy +++ b/src/main/groovy/wooga/gradle/appcenter/AppCenterPlugin.groovy @@ -14,19 +14,15 @@ * limitations under the License. */ -package wooga.gradle.hockey +package wooga.gradle.appcenter import org.gradle.api.Action import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.api.publish.plugins.PublishingPlugin -import wooga.gradle.hockey.tasks.AppCenterUploadTask -import wooga.gradle.hockey.tasks.HockeyUploadTask +import wooga.gradle.appcenter.tasks.AppCenterUploadTask -class HockeyPlugin implements Plugin { - - static final String PUBLISH_HOCKEY_TASK_NAME = "publishHockey" - static final String PUBLISH_HOCKEY_TASK_DESCRIPTION = "Upload binary to HockeyApp." +class AppCenterPlugin implements Plugin { static final String PUBLISH_APP_CENTER_TASK_NAME = "publishAppCenter" static final String PUBLISH_APP_CENTER_TASK_DESCRIPTION = "Upload binary to AppCenter." @@ -38,9 +34,6 @@ class HockeyPlugin implements Plugin { def tasks = project.tasks - def publishHockey = tasks.create(name: PUBLISH_HOCKEY_TASK_NAME, type: HockeyUploadTask, group: PublishingPlugin.PUBLISH_TASK_GROUP) - publishHockey.description = PUBLISH_HOCKEY_TASK_DESCRIPTION - def publishAppCenter = tasks.create(name: PUBLISH_APP_CENTER_TASK_NAME, type: AppCenterUploadTask, group: PublishingPlugin.PUBLISH_TASK_GROUP) publishAppCenter.description = PUBLISH_APP_CENTER_TASK_DESCRIPTION @@ -54,6 +47,6 @@ class HockeyPlugin implements Plugin { }) def lifecyclePublishTask = tasks.getByName(PublishingPlugin.PUBLISH_LIFECYCLE_TASK_NAME) - lifecyclePublishTask.dependsOn(publishAppCenter, publishHockey) + lifecyclePublishTask.dependsOn(publishAppCenter) } } diff --git a/src/main/groovy/wooga/gradle/hockey/api/AppCenterBuildInfo.groovy b/src/main/groovy/wooga/gradle/appcenter/api/AppCenterBuildInfo.groovy similarity index 96% rename from src/main/groovy/wooga/gradle/hockey/api/AppCenterBuildInfo.groovy rename to src/main/groovy/wooga/gradle/appcenter/api/AppCenterBuildInfo.groovy index d325d85..eadf54e 100644 --- a/src/main/groovy/wooga/gradle/hockey/api/AppCenterBuildInfo.groovy +++ b/src/main/groovy/wooga/gradle/appcenter/api/AppCenterBuildInfo.groovy @@ -15,7 +15,7 @@ * */ -package wooga.gradle.hockey.api +package wooga.gradle.appcenter.api import org.gradle.api.tasks.Input import org.gradle.api.tasks.Optional diff --git a/src/main/groovy/wooga/gradle/hockey/tasks/AppCenterUploadTask.groovy b/src/main/groovy/wooga/gradle/appcenter/tasks/AppCenterUploadTask.groovy similarity index 97% rename from src/main/groovy/wooga/gradle/hockey/tasks/AppCenterUploadTask.groovy rename to src/main/groovy/wooga/gradle/appcenter/tasks/AppCenterUploadTask.groovy index 739b6dd..594878a 100644 --- a/src/main/groovy/wooga/gradle/hockey/tasks/AppCenterUploadTask.groovy +++ b/src/main/groovy/wooga/gradle/appcenter/tasks/AppCenterUploadTask.groovy @@ -15,7 +15,7 @@ * */ -package wooga.gradle.hockey.tasks +package wooga.gradle.appcenter.tasks import groovy.json.JsonOutput import groovy.json.JsonSlurper @@ -35,7 +35,7 @@ import org.gradle.api.file.FileCollection import org.gradle.api.internal.ConventionTask import org.gradle.api.tasks.* import org.gradle.internal.impldep.com.google.gson.JsonObject -import wooga.gradle.hockey.api.AppCenterBuildInfo +import wooga.gradle.appcenter.api.AppCenterBuildInfo import static org.gradle.util.ConfigureUtil.configureUsing import java.util.concurrent.Callable @@ -53,7 +53,7 @@ class AppCenterUploadTask extends ConventionTask { apiToken = value } - HockeyUploadTask apiToken(Object apiToken) { + AppCenterUploadTask apiToken(Object apiToken) { setApiToken(apiToken) this } @@ -122,7 +122,7 @@ class AppCenterUploadTask extends ConventionTask { applicationIdentifier = value } - HockeyUploadTask applicationIdentifier(Object applicationIdentifier) { + AppCenterUploadTask applicationIdentifier(Object applicationIdentifier) { setApplicationIdentifier(applicationIdentifier) this } @@ -189,7 +189,7 @@ class AppCenterUploadTask extends ConventionTask { binary = value } - HockeyUploadTask binary(Object binary) { + AppCenterUploadTask binary(Object binary) { setBinary(binary) this } diff --git a/src/main/groovy/wooga/gradle/hockey/api/AppVersion.groovy b/src/main/groovy/wooga/gradle/hockey/api/AppVersion.groovy deleted file mode 100644 index 64c3ad0..0000000 --- a/src/main/groovy/wooga/gradle/hockey/api/AppVersion.groovy +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright 2019 Wooga GmbH - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -package wooga.gradle.hockey.api - -interface AppVersion { - String getId() - String getTitle() - String getAppId() - - int getAppSize() - int getTimespamp() - String getDeviceFamily() - String getNotes() - String getVersion() - String getShortVersion() - int getStatus() - String getConfigUrl() - String getPublicUrl() - String getBuildUrl() -} diff --git a/src/main/groovy/wooga/gradle/hockey/api/internal/DefaultAppVersion.groovy b/src/main/groovy/wooga/gradle/hockey/api/internal/DefaultAppVersion.groovy deleted file mode 100644 index 06369c3..0000000 --- a/src/main/groovy/wooga/gradle/hockey/api/internal/DefaultAppVersion.groovy +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright 2019 Wooga GmbH - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -package wooga.gradle.hockey.api.internal - -import groovy.json.JsonSlurper -import wooga.gradle.hockey.api.AppVersion - -/** - * "title": "HockeyTest", - * "appsize": 1598428, - * "timestamp": 1308930206, - * "device_family": "iPhone/iPod", - * "minimum_os_version": "4.0", - * "notes": "

                    Some new features and fixed bugs.

                    ", - * "version": "8", - * "shortversion": "1.0", - * "status": 2, - * "config_url": "https://rink.hockeyapp.net/manage/apps/123/app_versions/8", - * "public_url": "https://rink.hockeyapp.net/apps/1234567890abcdef1234567890abcdef" - */ -class DefaultAppVersion implements AppVersion{ - String id - String title - String appId - - int appSize - int timespamp - String deviceFamily - String notes - String version - String shortVersion - int status - String configUrl - String publicUrl - String buildUrl - - protected DefaultAppVersion() {} - - DefaultAppVersion(File file) { - this(file.newInputStream()) - } - - DefaultAppVersion(InputStream inputStream) { - this(new JsonSlurper().parse(inputStream)) - } - - protected DefaultAppVersion(Object json) { - id = json["id"] as String - title = json["title"] as String - appId = json["app_id"] as String - appSize = json["appsize"] as int - timespamp = json["timestamp"] as int - deviceFamily = json["device_family"] as String - notes = json["notes"] as String - version = json["version"] as String - shortVersion = json["shortversion"] as String - status = json["status"] as int - configUrl = json["config_url"] as String - publicUrl = json["public_url"] as String - buildUrl = json["build_url"] as String - } -} diff --git a/src/main/groovy/wooga/gradle/hockey/tasks/HockeyUploadTask.groovy b/src/main/groovy/wooga/gradle/hockey/tasks/HockeyUploadTask.groovy deleted file mode 100644 index 52b469f..0000000 --- a/src/main/groovy/wooga/gradle/hockey/tasks/HockeyUploadTask.groovy +++ /dev/null @@ -1,156 +0,0 @@ -/* - * Copyright 2018 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package wooga.gradle.hockey.tasks - -import groovy.json.JsonOutput -import org.apache.http.HttpEntity -import org.apache.http.HttpResponse -import org.apache.http.client.HttpClient -import org.apache.http.client.methods.HttpPost -import org.apache.http.entity.mime.MultipartEntityBuilder -import org.apache.http.entity.mime.content.FileBody -import org.apache.http.impl.client.HttpClientBuilder -import org.gradle.api.GradleException -import org.gradle.api.file.FileCollection -import org.gradle.api.internal.ConventionTask -import org.gradle.api.tasks.* -import wooga.gradle.hockey.api.AppVersion -import wooga.gradle.hockey.api.internal.DefaultAppVersion - -import java.util.concurrent.Callable - -class HockeyUploadTask extends ConventionTask { - - private Object apiToken - - @Input - String getApiToken() { - convertToString(apiToken) - } - - void setApiToken(Object value) { - apiToken = value - } - - HockeyUploadTask apiToken(Object apiToken) { - setApiToken(apiToken) - this - } - - private Object applicationIdentifier - - @Input - String getApplicationIdentifier() { - convertToString(applicationIdentifier) - } - - void setApplicationIdentifier(Object value) { - applicationIdentifier = value - } - - HockeyUploadTask applicationIdentifier(Object applicationIdentifier) { - setApplicationIdentifier(applicationIdentifier) - this - } - - @OutputFiles - protected FileCollection getOutputFiles() { - return project.files(getUploadVersionMetaData()) - } - - File getUploadVersionMetaData() { - new File(temporaryDir, "${getApplicationIdentifier()}.json") - } - - private DefaultAppVersion appVersion - - AppVersion getAppVersion() { - appVersion - } - - private Object binary - - @SkipWhenEmpty - @InputFiles - protected FileCollection getInputFiles() { - if (!binary) { - return project.files() - } - return project.files(binary) - } - - File getBinary() { - - def files = getInputFiles() - if (files.size() > 0) { - return files.getSingleFile() - } - return null - } - - void setBinary(Object value) { - binary = value - } - - HockeyUploadTask binary(Object binary) { - setBinary(binary) - this - } - - @TaskAction - protected void upload() { - HttpClient client = HttpClientBuilder.create().build() - HttpPost post = new HttpPost("https://rink.hockeyapp.net/api/2/apps/${getApplicationIdentifier()}/app_versions/upload") - - post.setHeader("X-HockeyAppToken", getApiToken()) - - FileBody binary = new FileBody(getBinary()) - - // TODO: make status and notify configurable, add changelog support - HttpEntity content = MultipartEntityBuilder.create() - .addPart("ipa", binary) - .addTextBody("status", "2") - .addTextBody("notify", "2") - .build() - - post.setEntity(content) - HttpResponse response = client.execute(post) - - if(response.statusLine.statusCode != 201) { - throw new GradleException("unable to upload to hockey") - } - - getUploadVersionMetaData() << JsonOutput.prettyPrint(response.entity.content.text) - - appVersion = new DefaultAppVersion(getUploadVersionMetaData()) - logger.info("Created new Version ${appVersion.version}") - logger.info("visit ${appVersion.publicUrl}") - logger.info("build: ${appVersion.buildUrl}") - } - - private static String convertToString(Object value) { - if (!value) { - return null - } - - if (value instanceof Callable) { - value = ((Callable) value).call() - } - - value.toString() - } -} diff --git a/src/main/resources/META-INF/gradle-plugins/net.wooga.hockey.properties b/src/main/resources/META-INF/gradle-plugins/net.wooga.appcenter.properties similarity index 91% rename from src/main/resources/META-INF/gradle-plugins/net.wooga.hockey.properties rename to src/main/resources/META-INF/gradle-plugins/net.wooga.appcenter.properties index 198a0ad..b4a12a1 100644 --- a/src/main/resources/META-INF/gradle-plugins/net.wooga.hockey.properties +++ b/src/main/resources/META-INF/gradle-plugins/net.wooga.appcenter.properties @@ -14,4 +14,4 @@ # limitations under the License. # -implementation-class=wooga.gradle.hockey.HockeyPlugin \ No newline at end of file +implementation-class=wooga.gradle.appcenter.AppCenterPlugin \ No newline at end of file diff --git a/src/test/groovy/wooga/gradle/hockey/HockeyPluginActivationSpec.groovy b/src/test/groovy/wooga/gradle/appcenter/AppCenterPluginActivationSpec.groovy similarity index 84% rename from src/test/groovy/wooga/gradle/hockey/HockeyPluginActivationSpec.groovy rename to src/test/groovy/wooga/gradle/appcenter/AppCenterPluginActivationSpec.groovy index b97652d..da9a9c1 100644 --- a/src/test/groovy/wooga/gradle/hockey/HockeyPluginActivationSpec.groovy +++ b/src/test/groovy/wooga/gradle/appcenter/AppCenterPluginActivationSpec.groovy @@ -14,13 +14,13 @@ * limitations under the License. */ -package wooga.gradle.hockey +package wooga.gradle.appcenter import nebula.test.PluginProjectSpec -class HockeyPluginActivationSpec extends PluginProjectSpec { +class AppCenterPluginActivationSpec extends PluginProjectSpec { @Override String getPluginName() { - return 'net.wooga.hockey' + return 'net.wooga.appcenter' } } diff --git a/src/test/groovy/wooga/gradle/hockey/HockeyPluginSpec.groovy b/src/test/groovy/wooga/gradle/appcenter/AppCenterPluginSpec.groovy similarity index 82% rename from src/test/groovy/wooga/gradle/hockey/HockeyPluginSpec.groovy rename to src/test/groovy/wooga/gradle/appcenter/AppCenterPluginSpec.groovy index 7c970b3..a2edf95 100644 --- a/src/test/groovy/wooga/gradle/hockey/HockeyPluginSpec.groovy +++ b/src/test/groovy/wooga/gradle/appcenter/AppCenterPluginSpec.groovy @@ -14,17 +14,16 @@ * limitations under the License. */ -package wooga.gradle.hockey +package wooga.gradle.appcenter import nebula.test.ProjectSpec import org.gradle.api.DefaultTask import org.gradle.api.publish.plugins.PublishingPlugin -import wooga.gradle.hockey.tasks.AppCenterUploadTask -import wooga.gradle.hockey.tasks.HockeyUploadTask +import wooga.gradle.appcenter.tasks.AppCenterUploadTask import spock.lang.Unroll -class HockeyPluginSpec extends ProjectSpec { - public static final String PLUGIN_NAME = 'net.wooga.hockey' +class AppCenterPluginSpec extends ProjectSpec { + public static final String PLUGIN_NAME = 'net.wooga.appcenter' def 'applies plugin'() { given: @@ -57,7 +56,6 @@ class HockeyPluginSpec extends ProjectSpec { where: taskName | taskType PublishingPlugin.PUBLISH_LIFECYCLE_TASK_NAME | DefaultTask - "publishHockey" | HockeyUploadTask "publishAppCenter" | AppCenterUploadTask } @@ -75,12 +73,11 @@ class HockeyPluginSpec extends ProjectSpec { then: project.evaluate() - def publishHockey = project.tasks.findByName(taskName) - publishTask.getDependsOn().contains(publishHockey) + def publish = project.tasks.findByName(taskName) + publishTask.getDependsOn().contains(publish) where: taskName | _ - "publishHockey" | _ "publishAppCenter" | _ } }