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
Docker compose from spring-boot-docker-compose will be in the container runtime classpath too which is not expected and might cause issues (I got this issue)
tl;dr any dependency supposed to be used with developmentOnly will be exposed*
Proposal options:
[Good option] Shall we, in case of Spring Boot apps, ("if spring boot") default it to productionRuntimeClasspath?
[No the best option] Shall the extension switch the configuration to productionRuntimeClasspath?
The text was updated successfully, but these errors were encountered:
Spring Boot Gradle plugin has a special configuration
developmentOnly
which affects only development classpathCurrently:
runtimeClasspath
configurationSpring defines a special Gradle configuration
productionRuntimeClasspath
, see this comment for example.This misaligned use causes issues in the production classpath which is hard to catch locally:
Hence, the only way to catch them is to deploy the application.
Example issues:
developmentOnly
will be exposed*Proposal options:
productionRuntimeClasspath
?productionRuntimeClasspath
?The text was updated successfully, but these errors were encountered: