blob: 930e3aab7932a4b32a626cca288945a6fa43b92a [file] [log] [blame] [edit]
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")
}