Has anyone succeed with the combo of Kotlin + Inte...
# random
m
Has anyone succeed with the combo of Kotlin + IntelliJ (so far so good) + badass-jlink-plugin + non-module java library like ojdbc?
1
p
if it's a non-modular library, you want the
badass-runtime-plugin
which I have successfully used with Kotlin
m
Oh thanks, I didn't know this brother plugin of the one I mentioned also exists. The think is right know I am able to configure either for the successful build (and runtime) or to make IntelliJ happily resolve dependencies at code-time, but not both.
p
hm, that's pretty odd. Is IJ set to delegate build stuff to gradle? I recently set up this project and had no issues getting IJ to resolve dependencies
referring to this 'Build and Run using'
m
Yes, IJ uses Gradle, it is most probably due to the kind of spaghetti config that includes gradle, module-java and plugin. Hope it will be simpler with this one
It indeed almost works except it fails at runtime due to missing jar's. Do you specify additional `modules`in the `runtime`config? I don't quite get what actually are 'modules' in the non-modular java context.
OK, got that, these are jdk `modules`and I was missing some of them, but now I got that running, thanks!
1