machine:
  java:
    version: openjdk7
  environment:
    TERM: dumb

general:
  artifacts:
    - build/libs

dependencies:
  override:
    - ./gradlew resolveConfigurations

test:
  override:
    - ./gradlew build

deployment:
  release:
    tag: /[0-9]+(\.[0-9]+)+/
    commands:
      - ./gradlew -i bintrayUpload
      - ./gradlew -i -Dgradle.publish.key=$GRADLE_KEY -Dgradle.publish.secret=$GRADLE_SECRET publishPlugins


machine:
  java:
    version: openjdk7
  environment:
    TERM: dumb

general:
  artifacts:
    - build/libs

dependencies:
  override:
    - ./gradlew resolveConfigurations

test:
  override:
    - ./gradlew build

deployment:
  release:
    tag: /.+/
    commands:
      - ./gradlew -i bintrayUpload
      - ./gradlew -i -Dgradle.publish.key=$GRADLE_KEY -Dgradle.publish.secret=$GRADLE_SECRET publishPlugins


Allow releases from any tag
Allow releases from any tag
