Reputation: 21
I know using URLClassLoader
it is possible to load external Java files that are not contained in the project src folder.
I was wondering if there was an equivalent method using Kotlin?
Thanks.
Upvotes: 0
Views: 564
Reputation: 12167
The URLClassLoader
doesn't load java
files but class
files. So you can just use it with Kotlin
.
Upvotes: 3