The very unexpected problem is a consequence of me trying to mitigate #328. I found if I replace runtimeOnly with providedRuntime then graalvm will be omitted from war. I don't want it anyway: all assets is already compiled. But slf4j-api (the only library I see) became omitted from grails war file and tomcat fails to start because org.slf4j.LoggerFactory is missing
The very unexpected problem is a consequence of me trying to mitigate #328. I found if I replace
runtimeOnly
withprovidedRuntime
then graalvm will be omitted fromwar
. I don't want it anyway: all assets is already compiled. Butslf4j-api
(the only library I see) became omitted from grails war file and tomcat fails to start becauseorg.slf4j.LoggerFactory
is missing