aboutsummaryrefslogtreecommitdiff
path: root/okhttp/build.gradle
blob: 62b2f53d7bf08e80db03ab762848a8ca17c0444c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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/javadoc/'