• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download

<lambda>null1 buildscript {
2     extra.apply{
3         set("moduleName", "io.perfmark.tracewriter")
4     }
5 }
6 
7 description = "PerfMark Tracer Output"
8 
9 val jdkVersion = JavaVersion.VERSION_1_7
10 
<lambda>null11 dependencies {
12     api(project(":perfmark-impl"))
13     // Included because it's easy to forget
14     runtimeOnly(project(":perfmark-java6"))
15 
16     implementation(project(":perfmark-api"))
17     implementation("com.google.code.gson:gson:2.9.0")
18 
19     compileOnly(libs.jsr305)
20     compileOnly(libs.errorprone)
21 }
22 
<lambda>null23 tasks.getByName<JavaCompile>("compileJava") {
24     sourceCompatibility = jdkVersion.toString()
25     targetCompatibility = jdkVersion.toString()
26     options.compilerArgs.add("-Xlint:-options")
27 }
28