diff options
author | Kristóf Marussy <kristof@marussy.com> | 2023-04-08 23:22:02 +0200 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2023-04-08 23:22:02 +0200 |
commit | 9c327a95dfa844f22f21fe99a8b45cace36567df (patch) | |
tree | 38841b46d86e184d9714a80e8a5fb8c650346e44 /subprojects/store-query-viatra | |
parent | chore(deps): bump dependencies (diff) | |
download | refinery-9c327a95dfa844f22f21fe99a8b45cace36567df.tar.gz refinery-9c327a95dfa844f22f21fe99a8b45cace36567df.tar.zst refinery-9c327a95dfa844f22f21fe99a8b45cace36567df.zip |
build: always prefer slf4j instead of log4j 1.x
Make sure we get slf4j in every test source set and every application by
default. Saves configuration effort when creating a new library that tests
VIATRA or other dependencies that require log4j.
Diffstat (limited to 'subprojects/store-query-viatra')
-rw-r--r-- | subprojects/store-query-viatra/build.gradle.kts | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/subprojects/store-query-viatra/build.gradle.kts b/subprojects/store-query-viatra/build.gradle.kts index d7a37f11..7451dd83 100644 --- a/subprojects/store-query-viatra/build.gradle.kts +++ b/subprojects/store-query-viatra/build.gradle.kts | |||
@@ -2,15 +2,8 @@ plugins { | |||
2 | id("refinery-java-library") | 2 | id("refinery-java-library") |
3 | } | 3 | } |
4 | 4 | ||
5 | configurations.testRuntimeClasspath { | ||
6 | // VIATRA requires log4j 1.x, but we use log4j-over-slf4j instead | ||
7 | exclude(group = "log4j", module = "log4j") | ||
8 | } | ||
9 | |||
10 | dependencies { | 5 | dependencies { |
11 | implementation(libs.ecore) | 6 | implementation(libs.ecore) |
12 | api(libs.viatra) | 7 | api(libs.viatra) |
13 | api(project(":refinery-store-query")) | 8 | api(project(":refinery-store-query")) |
14 | testImplementation(libs.slf4j.simple) | ||
15 | testImplementation(libs.slf4j.log4j) | ||
16 | } | 9 | } |