I have a Spring Boot application with Kotlin and Maven, and an application.properties
in src/main/resources
. If I build that application with kotlin version 1.2.10, the application.properties
will be present in the JAR. If I build it with kotlin version 1.2.20 and change nothing else, application.properties
is missing from the jar.
What changed in Kotlin? I’m assuming kotlin-maven-plugin
rather than one of the other Kotlin dependencies?