diff --git a/composeApp/build.gradle.kts b/composeApp/build.gradle.kts index 84a9b33..85e00dc 100644 --- a/composeApp/build.gradle.kts +++ b/composeApp/build.gradle.kts @@ -124,6 +124,7 @@ kotlin { implementation(libs.favre.bcrypt) implementation(libs.logback) + implementation(libs.janino) } } } diff --git a/composeApp/src/desktopMain/resources/logback.xml b/composeApp/src/desktopMain/resources/logback.xml index 9e2d565..1e36bbc 100644 --- a/composeApp/src/desktopMain/resources/logback.xml +++ b/composeApp/src/desktopMain/resources/logback.xml @@ -1,5 +1,19 @@ + + + + + + + + + + + + + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n @@ -17,7 +31,7 @@ - data/logs/Bankmeister-${bySecond}.log + ${logDir}/logs/Bankmeister-${bySecond}.log diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 9bc76da..274bc33 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -12,6 +12,7 @@ favre-bcrypt = "0.10.2" klf = "1.6.2" logback = "1.5.7" +janino = "3.1.12" sqlDelight = "2.0.2" @@ -45,6 +46,7 @@ favre-bcrypt = { group = "at.favre.lib", name = "bcrypt", version.ref = "favre-b klf = { group = "net.codinux.log", name = "klf", version.ref = "klf" } logback = { group = "ch.qos.logback", name = "logback-classic", version.ref = "logback" } +janino = { group = "org.codehaus.janino", name = "janino", version.ref = "janino" } sqldelight-runtime = { module = "app.cash.sqldelight:runtime", version.ref = "sqlDelight" } sqldelight-coroutines-extensions = { module = "app.cash.sqldelight:coroutines-extensions", version.ref = "sqlDelight" }