I recently discovered (as in "today") that using the
org.springframework.boot
Gradle plugin interferes with running JVM tests in my Kotlin MPP project.
Wolf Logan
05/14/2021, 11:17 PM
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)
Wolf Logan
05/14/2021, 11:19 PM
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
Wolf Logan
05/14/2021, 11:20 PM
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
Wolf Logan
05/14/2021, 11:20 PM
Does anyone have any advice on how I could proceed?