diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index d79532006b..55a88c9929 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -27,6 +27,9 @@ poko = "dev.drewhamilton.poko:poko-gradle-plugin:0.15.2" # TODO: Update "renovate.json" once logback-classic is updated to 1.4 (once java8 support for ktlint is dropped) logback = "ch.qos.logback:logback-classic:1.3.14" logcaptor = "io.github.hakky54:logcaptor:2.9.2" +# Required for logback-test.xml conditional configuration so that trace-logging in unit test can be automatically enabled using an +# environment variable +janino = "org.codehaus.janino:janino:3.1.11" # Testing libraries junit5 = "org.junit.jupiter:junit-jupiter:5.10.2" assertj = "org.assertj:assertj-core:3.25.3" diff --git a/ktlint-test/build.gradle.kts b/ktlint-test/build.gradle.kts index 2362226683..6262c050d4 100644 --- a/ktlint-test/build.gradle.kts +++ b/ktlint-test/build.gradle.kts @@ -8,5 +8,6 @@ dependencies { implementation(projects.ktlintCliRulesetCore) api(libs.assertj) api(libs.junit5) + api(libs.janino) api(libs.jimfs) }