|
|
Instruction for modders
For modders who wish to use LazyLib's methods, all you need to do is add mods/LazyLib/jars/LazyLib.jar as a dependency in your project, the same way you did for starsector-core/starsector.api.jar.
If you use Kotlin, you'll also want to include mods/LazyLib/jars/LazyLib-Kotlin.jar, which includes extension methods for the base LazyLib classes as well as bundles the kotlinx.coroutines library.
Do not include the Kotlin runtime or the kotlinx.coroutines library in your own mod's jar, as they will conflict with the versions included in LazyLib. |
|