aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Dochez <jedo@google.com>2015-06-08 20:29:14 +0000
committerandroid-build-merger <android-build-merger@google.com>2015-06-08 20:29:14 +0000
commitbb884d74797baed8f2693b3a54f9000dd8c1db3b (patch)
treea64c88d802b57935aa9d1f1731927af38e10df0f
parent10375528609ef67f2910100b17fc5cf8e9ff8a7a (diff)
parente2212c6410aa73d691fb66af00d5951467e4646a (diff)
downloadbuildSrc-bb884d74797baed8f2693b3a54f9000dd8c1db3b.tar.gz
changed bintray plugin importation. automerge: 2bcff77
automerge: e2212c6 * commit 'e2212c6410aa73d691fb66af00d5951467e4646a': changed bintray plugin importation.
-rw-r--r--base/bintray.gradle7
1 files changed, 6 insertions, 1 deletions
diff --git a/base/bintray.gradle b/base/bintray.gradle
index a0a7e04..483e3d1 100644
--- a/base/bintray.gradle
+++ b/base/bintray.gradle
@@ -7,7 +7,12 @@ buildscript {
}
}
-apply plugin: 'com.jfrog.bintray'
+// apply the plugin with its class name rather than its Id to work around gradle limitation of
+// not being able to find the plugin by Id despite the dependencies being added right above. Gradle
+// is currently not capable of loading plugins by Id if the dependency is anywhere else than
+// in the main project build.gradle. This file is "imported" into the project's build.gradle
+// through a "apply from:".
+apply plugin: com.jfrog.bintray.gradle.BintrayPlugin
apply plugin: 'maven-publish'
publishing {