/
build.gradle
39 lines (31 loc) · 1022 Bytes
/
build.gradle
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
description = "PerfMark Agent"
sourceCompatibility = 1.7
targetCompatibility = 1.7
dependencies {
compileOnly libraries.jsr305,
libraries.errorprone
implementation "net.bytebuddy:byte-buddy:1.9.13",
"org.ow2.asm:asm:7.1",
"org.ow2.asm:asm-commons:7.1",
project(":perfmark-api"),
project(":perfmark-impl")
testImplementation libraries.truth
testRuntimeOnly project(":perfmark-java6")
}
import net.ltgt.gradle.errorprone.CheckSeverity
compileTestJava {
// Broken in JDK12+. See https://github.com/google/error-prone/issues/1106
properties.put("errorProne", "false")
options.errorprone.check("SameNameButDifferent", CheckSeverity.OFF)
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
jar {
manifest {
attributes(
"Premain-Class": "io.perfmark.agent.Main",
"Main-Class": "io.perfmark.agent.Main\$MySelf",
)
}
}
// print sourceSets.main.runtimeClasspath.asPath