Skip to content

Commit

Permalink
Revert "Remove dependency org.codehaus.janino:janino (pinterest#2545)" (
Browse files Browse the repository at this point in the history
pinterest#2558)

Janino is required for logback-test.xml conditional configuration so that trace-logging in unit test can be automatically enabled using an environment variable

This (partially) reverts commit a6e6b55.
  • Loading branch information
paul-dingemans authored Feb 20, 2024
1 parent c639b30 commit 028c1eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions ktlint-test/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ dependencies {
implementation(projects.ktlintCliRulesetCore)
api(libs.assertj)
api(libs.junit5)
api(libs.janino)
api(libs.jimfs)
}

0 comments on commit 028c1eb

Please sign in to comment.