Kotlin stdlib, reflect and coroutines in a minecraft plugin.
This plugin does not add any game features. It just provides Kotlin libraries.
Use Maven to build: mvn clean package
Do not include this plugin as a dependency in your own plugin.
Include the kotlin libraries.
The scope should be set to Provided
Use the normal Spigot/BungeeCord API classes. (JavaPlugin etc)
Add the appropiate plugin to the plugin folders.
<dependencies>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-reflect</artifactId>
<version>${kotlin.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-jdk8</artifactId>
<version>${kotlin.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines-core</artifactId>
<version>${kotlinx.coroutines.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines-jdk8</artifactId>
<version>${kotlinx.coroutines.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>