diff --git a/build.gradle b/build.gradle index 0aad0b602a..c71f410ced 100644 --- a/build.gradle +++ b/build.gradle @@ -243,6 +243,9 @@ publishing { } artifactoryPublish { + onlyIf { + System.env.'TRAVIS_BRANCH' == "master" + } dependsOn assemble }