Skip to content

Commit fb5825a

Browse files
committed
disabling bintray for jitpack builds
1 parent 317c08a commit fb5825a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ plugins {
2525

2626
// https://docs.travis-ci.com/user/environment-variables/
2727
final isCi = System.getenv("TRAVIS") != null
28+
final isJitpack = System.getenv("JITPACK") != null
2829

2930
ext {
3031
bintrayDryRun = true
@@ -46,8 +47,8 @@ subprojects {
4647
testCompile group: 'junit', name: 'junit', version: '4.12'
4748
}
4849

49-
if (!isCi) {
50-
// we don't need the bintray features for the ci build
50+
if (!(isCi || isJitpack)) {
51+
// we don't need the bintray features for the ci/jitpack builds build
5152
apply from: rootProject.file('gradle/bintray.gradle')
5253
}
5354

0 commit comments

Comments
 (0)