plugins { id 'org.jetbrains.kotlin.jvm' version '1.3.41' apply false id 'com.github.johnrengelman.shadow' version '5.1.0' apply false id 'net.minecrell.plugin-yml.bukkit' version '0.3.0' apply false } subprojects { apply plugin: 'java' apply plugin: 'org.jetbrains.kotlin.jvm' apply plugin: 'com.github.johnrengelman.shadow' apply plugin: 'net.minecrell.plugin-yml.bukkit' repositories { jcenter() maven { url 'https://papermc.io/repo/repository/maven-public/' } maven { url 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' } } dependencies { testCompile group: 'junit', name: 'junit', version: '4.12' compileOnly 'com.destroystokyo.paper:paper-api:1.14.2-R0.1-SNAPSHOT' } compileKotlin { kotlinOptions.jvmTarget = "1.8" } compileTestKotlin { kotlinOptions.jvmTarget = "1.8" } group 'nl.voidcorp.paperplugin' version '1.0' sourceCompatibility = 1.8 shadowJar { destinationDirectory = file("$rootDir/build/libs") getArchiveClassifier().set(null) } }