diff --git a/e-invoicing-domain/build.gradle.kts b/e-invoicing-domain/build.gradle.kts index 02b0a1f..c230ed3 100644 --- a/e-invoicing-domain/build.gradle.kts +++ b/e-invoicing-domain/build.gradle.kts @@ -14,6 +14,7 @@ val klfVersion: String by project val assertKVersion: String by project val xunitVersion: String by project +val logbackVersion: String by project dependencies { implementation("org.mustangproject:library:$mustangVersion") @@ -23,8 +24,10 @@ dependencies { testImplementation(kotlin("test")) - implementation("com.willowtreeapps.assertk:assertk:$assertKVersion") + testImplementation("com.willowtreeapps.assertk:assertk:$assertKVersion") testImplementation("org.xmlunit:xmlunit-core:$xunitVersion") + + testImplementation("ch.qos.logback:logback-classic:$logbackVersion") } diff --git a/e-invoicing-domain/src/test/resources/logback-test.xml b/e-invoicing-domain/src/test/resources/logback-test.xml new file mode 100644 index 0000000..9bd861f --- /dev/null +++ b/e-invoicing-domain/src/test/resources/logback-test.xml @@ -0,0 +1,24 @@ + + + + + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + DEBUG + + + + + + + + + + + \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 10e8f72..e5e81b3 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,6 +8,8 @@ kotlinVersion=1.9.25 mustangVersion=2.14.2 klfVersion=1.6.2 +# only used for tests +logbackVersion=1.5.12 assertKVersion=0.28.1 xunitVersion=2.10.0 \ No newline at end of file