aboutsummaryrefslogtreecommitdiff
path: root/all
diff options
context:
space:
mode:
authornathanmittler <nathanmittler@google.com>2014-12-15 09:58:05 -0800
committerEric Anderson <ejona@google.com>2015-01-08 14:43:21 -0800
commit164b734aa9c9e4c1313b2b908e8f0fdb2b4242c2 (patch)
tree4994f43ce91ef7010d6314c909a45b4dd72c4e81 /all
parent66ce6677b2b7bc631f835da5016f1aa812a03a0d (diff)
downloadgrpc-grpc-java-164b734aa9c9e4c1313b2b908e8f0fdb2b4242c2.tar.gz
Adding gradle build for Java grpc
------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82152044
Diffstat (limited to 'all')
-rw-r--r--all/build.gradle22
1 files changed, 22 insertions, 0 deletions
diff --git a/all/build.gradle b/all/build.gradle
new file mode 100644
index 000000000..a55e2cd01
--- /dev/null
+++ b/all/build.gradle
@@ -0,0 +1,22 @@
+description = "Stubby: All"
+
+// Make sure that no transitive dependencies are included.
+configurations.compile.transitive = false
+
+dependencies {
+ compile project(':stubby-core'),
+ project(':stubby-stub'),
+ project(':stubby-auth'),
+ project(':stubby-netty'),
+ project(':stubby-okhttp')
+}
+
+// Create a fat jar containing only the direct dependencies
+jar {
+ from {
+ configurations.compile.collect {
+ it.isDirectory() ? it : zipTree(it)
+ }
+ }
+}
+