File: build.gradle

package info (click to toggle)
opencensus-java 0.26.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,088 kB
  • sloc: java: 57,348; xml: 1,026; sh: 117; python: 39; makefile: 8
file content (40 lines) | stat: -rw-r--r-- 1,328 bytes parent folder | download | duplicates (3)
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
32
33
34
35
36
37
38
39
40
description = 'OpenCensus Stats Stackdriver Exporter'

[compileJava, compileTestJava].each() {
    it.sourceCompatibility = 1.7
    it.targetCompatibility = 1.7
}

dependencies {
    compileOnly libraries.auto_value

    compile project(':opencensus-api'),
            project(':opencensus-contrib-exemplar-util'),
            project(':opencensus-contrib-resource-util'),
            project(':opencensus-exporter-metrics-util'),
            libraries.google_auth,
            libraries.grpc_auth,
            libraries.grpc_core,
            libraries.grpc_netty_shaded,
            libraries.grpc_stub,
            libraries.guava

    compile (libraries.google_cloud_monitoring) {
        // Prefer library version.
        exclude group: 'com.google.guava', module: 'guava'

        // Prefer library version.
        exclude group: 'com.google.code.findbugs', module: 'jsr305'

        // Prefer library version.
        exclude group: 'io.grpc', module: 'grpc-auth'
        exclude group: 'io.grpc', module: 'grpc-core'
        exclude group: 'io.grpc', module: 'grpc-netty-shaded'
        exclude group: 'io.grpc', module: 'grpc-stub'

        // We will always be more up to date.
        exclude group: 'io.opencensus', module: 'opencensus-api'
    }

    signature "org.codehaus.mojo.signature:java17:1.0@signature"
}