I'm trying to compile a Kotlin project to a JAR file. My problem is that compiler does not recognize imports of Kotlin classes included in the project. The app can be build and run without errors.
Classes locate in same directory as main class, directly under "com.example.project-name".
Project uses Gradle.
How to tell compiler to include class files?
I tried adding "implementation" but it didn't work.