From 76c7322a8bfd1b6210977219e9637296e16977e5 Mon Sep 17 00:00:00 2001 From: Jackson Bailey Date: Thu, 27 Jun 2024 15:18:34 -0400 Subject: [PATCH] Compile with debug information --- .../dev.jacksonbailey.wheel.java-common-conventions.gradle.kts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/dev.jacksonbailey.wheel.java-common-conventions.gradle.kts b/buildSrc/src/main/kotlin/dev.jacksonbailey.wheel.java-common-conventions.gradle.kts index 0dd12f2..d6a8809 100644 --- a/buildSrc/src/main/kotlin/dev.jacksonbailey.wheel.java-common-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/dev.jacksonbailey.wheel.java-common-conventions.gradle.kts @@ -13,7 +13,8 @@ java { tasks { withType { - options.compilerArgs.add("-Xlint:all") + // TODO Check that -g is actually adding debug info because it seems like it's already there + options.compilerArgs.addAll(listOf("-Xlint:all", "-g")) } named("test") {