I recently discovered (as in "today") that using t...
# spring
w
I recently discovered (as in "today") that using the
org.springframework.boot
Gradle plugin interferes with running JVM tests in my Kotlin MPP project.
If I use the plugin, I can build and deploy my Spring Boot+React SPA app just fine, but JVM tests simply will not work (the test build fails silently, or I can get it built but the tests can't be found)
If I don't use the plugin, then I can get my tests to work (more-or-less), but then I don't have access to the
BootJar
task, so I can't build a nice "fat JAR" for deployment
I think I'd be ok without that helper task, if I knew how to leverage the Kotlin MPP to build the bits I need for a fat JAR
Does anyone have any advice on how I could proceed?
s
Could you share a minimal repro project ?
w
let me see if I can put something together