New to Kotlin, and new to the build tools (Gradle and Maven and Ant, oh my!)
I’ve created a Gradle project in Intellij, and selected both Java and Kotlin/JVM under ‘Additional Libraries and Frameworks.’
In project root, I created a ‘lib’ directory, and added a java .jar file.
In gradle.build I added the following under ‘dependencies’
implementation fileTree(dir: ‘lib’, include: [’*.jar’])
After building, I was able to access the package in the java .jar file.
I then added a kotlin .jar file. But, am unable to use import statements for packages within the Kotlin .jar.
Is there a separate config needed in build.gradle to allow access to Kotlin .jar files?