plugins { id 'java' id 'org.jetbrains.kotlin.jvm' version '1.3.11' id 'com.github.johnrengelman.shadow' version '4.0.3' } group 'nl.aegeedelft.watermarker' version '1.0' sourceCompatibility = 1.8 repositories { mavenCentral() } dependencies { compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8" testCompile group: 'junit', name: 'junit', version: '4.12' } compileKotlin { kotlinOptions.jvmTarget = "1.8" } compileTestKotlin { kotlinOptions.jvmTarget = "1.8" } shadowJar { baseName = 'WaterMarker' classifier = null version = null manifest { attributes 'Main-Class': 'nl.aegeedelft.watermarker.MainKt' } }