You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to add logging using callback to my project, which uses the gauve-java plugin. Unfortunately, I wasn't able to configure it using src/main/resources/logback.xml because the src/main/resources path is not added to the classpath sent to gauge-java.
Fortunately, I found an workaround by adding the following to my build.gradle file:
sourceSets {
main {
// This will put logback.xml on the classpath used by gauge-java.
output.resourcesDir ="build/classes/main"
}
}
However, I don't find this a satisfying solution. I believe the plugin should handle this.
The text was updated successfully, but these errors were encountered:
chadlwilson
changed the title
Resources directory is not added to gauve-java's classpath
Resources directory is not added to gauge-java's classpath
Oct 7, 2024
I was trying to add logging using callback to my project, which uses the gauve-java plugin. Unfortunately, I wasn't able to configure it using
src/main/resources/logback.xml
because thesrc/main/resources
path is not added to the classpath sent to gauge-java.Fortunately, I found an workaround by adding the following to my
build.gradle
file:However, I don't find this a satisfying solution. I believe the plugin should handle this.
The text was updated successfully, but these errors were encountered: