plugins { id "org.jetbrains.kotlin.jvm" version "1.3.71" id "com.github.johnrengelman.shadow" version "5.2.0" } group = 'cc.fyre.modsuite' version = '1.0-SNAPSHOT' description = 'modsuite' targetCompatibility = '1.8' sourceCompatibility = '1.8' shadowJar { classifier = null minimize() } repositories { mavenLocal() mavenCentral() } dependencies { compileOnly 'cc.fyre.venom:bukkit:1.0-SNAPSHOT' compileOnly 'cc.fyre.proton:proton:1.0-SNAPSHOT' compileOnly 'cc.fyre:spigot-server:1.7.10-R0.1-SNAPSHOT' compileOnly "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.71" compileOnly 'mkremins:fanciful:0.4.0-SNAPSHOT' } apply plugin: "kotlin" apply plugin: 'maven-publish' compileKotlin { kotlinOptions.jvmTarget = '1.8' } sourceSets { main.java.srcDirs += 'src/main/kotlin/' } tasks.withType(JavaCompile) { options.encoding = 'UTF-8' } publishing { publications { shadow(MavenPublication) { publication -> project.shadow.component(publication) } } }