aboutsummaryrefslogtreecommitdiff
path: root/protobuf-nano
diff options
context:
space:
mode:
authorEric Anderson <ejona@google.com>2015-08-13 14:39:34 -0700
committerEric Anderson <ejona@google.com>2015-08-14 08:34:16 -0700
commit22c4991d7f05ce1fce3195f10639ad7dee6c38cb (patch)
treeb6859eba2c85fafabc08f65c9c5a74b7d344e19e /protobuf-nano
parent572f4332a75367e0d0e1cb096198839b68787670 (diff)
downloadgrpc-grpc-java-22c4991d7f05ce1fce3195f10639ad7dee6c38cb.tar.gz
Enable Animal Sniffer for protobuf projects
This ensures that we remain JDK6/Android-compatible.
Diffstat (limited to 'protobuf-nano')
-rw-r--r--protobuf-nano/build.gradle8
1 files changed, 8 insertions, 0 deletions
diff --git a/protobuf-nano/build.gradle b/protobuf-nano/build.gradle
index 7b5eea924..1313e088c 100644
--- a/protobuf-nano/build.gradle
+++ b/protobuf-nano/build.gradle
@@ -1,3 +1,7 @@
+plugins {
+ id "be.insaneprogramming.gradle.animalsniffer" version "1.4.0"
+}
+
description = 'gRPC: Protobuf Nano'
dependencies {
@@ -5,3 +9,7 @@ dependencies {
libraries.protobuf_nano,
libraries.guava
}
+
+animalsniffer {
+ signature = "org.codehaus.mojo.signature:java16:+@signature"
+}