blob: 930e3aab7932a4b32a626cca288945a6fa43b92a (
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
|
buildscript {
extra.apply{
set("moduleName", "io.perfmark.tracewriter")
}
}
description = "PerfMark Tracer Output"
val jdkVersion = JavaVersion.VERSION_1_7
dependencies {
api(project(":perfmark-impl"))
// Included because it's easy to forget
runtimeOnly(project(":perfmark-java6"))
implementation(project(":perfmark-api"))
implementation("com.google.code.gson:gson:2.9.0")
compileOnly(libs.jsr305)
compileOnly(libs.errorprone)
}
tasks.getByName<JavaCompile>("compileJava") {
sourceCompatibility = jdkVersion.toString()
targetCompatibility = jdkVersion.toString()
options.compilerArgs.add("-Xlint:-options")
}
|