release task doesn't upload to bintray
Bintray upload is done via Travis stage.
MODIFY
.travis.yml
.travis.yml
@@ -11,14 +11,15 @@ before_install:
jdk:
- oraclejdk8
+script: ./gradlew build -s
+
jobs:
include:
- - script: ./gradlew build -s
- stage: release
- script: skip
deploy:
provider: script
- script: ./gradlew release
+ script: ./gradlew assemble bintrayUpload
on:
tags: true

MODIFY
gradle/release.gradle
gradle/release.gradle
@@ -22,5 +22,3 @@ release {
generateMessage = { version -> "Version ${project.version.version}" }
}
}
-
-tasks.release.dependsOn 'assemble', 'bintrayUpload'

release task doesn't upload to bintray

Bintray upload is done via Travis stage.