Dependency Management Without Build Tools

Hello everyone,

I’m new to Kotlin and so far am enjoying it. But right now I am wondering how I could use a function in a .jar file in a kotlin file. For example, say I have the following project structure:

├── deps
│   └── Math.jar
└── src
    └── Main.kt

And I want to use some function named add from Math.jar in my Main.kt file. How could I do that without using a build tool like Gradle or Maven? I’ve tried using the -classpath compiler option but I can’t seem to get it working.