mirror of https://github.com/grpc/grpc-java.git
32 lines
755 B
Groovy
32 lines
755 B
Groovy
plugins {
|
|
id "be.insaneprogramming.gradle.animalsniffer" version "1.4.0"
|
|
}
|
|
|
|
description = "gRPC: OkHttp"
|
|
dependencies {
|
|
compile project(':grpc-core'),
|
|
libraries.okhttp,
|
|
libraries.okio
|
|
|
|
// Tests depend on base class defined by core module.
|
|
testCompile project(':grpc-core').sourceSets.test.output
|
|
}
|
|
|
|
project.sourceSets {
|
|
main {
|
|
java {
|
|
srcDir "${projectDir}/third_party/okhttp/java"
|
|
}
|
|
}
|
|
}
|
|
|
|
checkstyleMain.exclude '**/io/grpc/okhttp/internal/**'
|
|
|
|
// Configure the animal sniffer plugin
|
|
animalsniffer {
|
|
signature = "org.codehaus.mojo.signature:java16:+@signature"
|
|
}
|
|
|
|
javadoc.exclude 'io/grpc/okhttp/internal/**'
|
|
javadoc.options.links 'http://square.github.io/okhttp/2.x/okhttp/'
|