Apologies if this question has already been asked, the barrier to entry with Gradle seems very high and I'm not sure what to search for.
My Kotlin project depends on various artifacts to offer the Kotlin runtime, such as kotlin-stdlib-jdk8-1.2.60.jar
, for example.
The Kotlin library is being loaded by a raw Java application.
I need to inform the Kotlin library JAR that I am distributing to look in the /kotlin
directory (relative to the directory in which it will be placed) for its runtime libraries and any other dependencies. From what I have seen, I need to add this to the runtimeClasspath
or similar but I am unsure how.
Thanks for any help.