konikvranik/jtoggl

View on GitHub
.bintray.json

Summary

Maintainability
Test Coverage
{
  /* Bintray package information.
     In case the package already exists on Bintray, only the name, repo and subject
     fields are mandatory. */

  "package": {
    "name": "jtoggl",
    // Bintray package name
    "repo": "maven",
    // Bintray repository name
    "subject": "konikvranik",
    // Bintray subject (user or organization)
    "desc": "Library for communicating with Toggl over official API. First number in version of this library reflects Toggl API version.",
    "website_url": "http://konikvranik.github.io/jtoggl",
    "issue_tracker_url": "https://github.com/konikvranik/jtoggl/issues",
    "vcs_url": "https://github.com/konikvranik/jtoggl.git",
    "github_use_tag_release_notes": true,
    "github_release_notes_file": "RELEASE.txt",
    "labels": [
      "toggl",
      "client",
      "api"
    ],
    "public_download_numbers": true,
    "public_stats": true
  },
  /* Package version information.
     In case the version already exists on Bintray, only the name fields is mandatory. */

  "version": {
    "name": "8.0.0",
    "desc": "First release fersion for API v8.",
    "released": "2016-03-15",
    "vcs_tag": "v8_0_0",
    "gpgSign": false
  },
  /* Configure the files you would like to upload to Bintray and their upload path.
  You can define one or more groups of patterns.
  Each group contains three patterns:

  includePattern: Pattern in the form of Ruby regular expression, indicating the path of files to be uploaded to Bintray.
  excludePattern: Optional. Pattern in the form of Ruby regular expression, indicating the path of files to be removed from the list of files specified by the includePattern.
  uploadPattern: Upload path on Bintray. The path can contain symbols in the form of $1, $2,... that are replaced with capturing groups defined in the include pattern.

  In the example below, the following files are uploaded,
  1. All gem files located under build/bin/ (including sub directories),
  except for files under a the do-not-deploy directory.
  The files will be uploaded to Bintray under the gems folder.
  2. All files under build/docs. The files will be uploaded to Bintray under the docs folder.

  Note: Regular expressions defined as part of the includePattern property must be wrapped with brackets. */

  "files": [
    {
      "matrixParams": {
        "override": 1
      },
      "includePattern": "/home/travis/build/konikvranik/jtoggl/build/libs/(jtoggl-([0-9.]*)(\\.jar|-javadoc\\.jar|-sources\\.jar))",
      "excludePattern": ".*/do-not-deploy/.*",
      "uploadPattern": "ch/simas/jtoggl/jtoggl/$2/$1"
    },
    {
      "matrixParams": {
        "override": 1
      },
      "includePattern": "/home/travis/build/konikvranik/jtoggl/build/publications/maven/pom-default.xml",
      "excludePattern": ".*/do-not-deploy/.*",
      "uploadPattern": "ch/simas/jtoggl/jtoggl/8.0.0/jtoggl-8.0.0.pom"
    }
  ],
  "publish": true
}