language: java
jdk:
- oraclejdk8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
  directories:
  - "$HOME/.gradle/caches/"
  - "$HOME/.gradle/wrapper/"
after_success:
- "./gradlew bintrayUpload"
deploy:
  provider: releases
  api_key:
    secure: "${GITHUB_API_KEY_SECURE}"
  file: build/libs
  on:
    repo: VcSaJen/BBCodeForSponge
    tags: true

language: java
jdk:
- oraclejdk8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
  directories:
  - "$HOME/.gradle/caches/"
  - "$HOME/.gradle/wrapper/"
after_success:
- "./gradlew bintrayUpload"
deploy:
  provider: releases
  api_key:
    secure: "${GITHUB_API_KEY_SECURE}"
  file_glob: true
  file: build/libs/*.jar
  on:
    repo: VcSaJen/BBCodeForSponge
    tags: true

Fix "is a folder" error for GitHub releases
Fix "is a folder" error for GitHub releases
