buildscript { ext.kotlin_version = '1.2.30' repositories { jcenter() } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.2' } } group 'nl.voidcorp.alarmclock' version '1.0-SNAPSHOT' apply plugin: 'java' apply plugin: 'kotlin' apply plugin: 'com.github.johnrengelman.shadow' sourceCompatibility = 1.8 repositories { mavenCentral() } dependencies { compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" testCompile group: 'junit', name: 'junit', version: '4.12' compile 'com.github.salomonbrys.kotson:kotson:2.5.0' } compileKotlin { kotlinOptions.jvmTarget = "1.8" } compileTestKotlin { kotlinOptions.jvmTarget = "1.8" } jar { manifest { attributes 'Main-Class': 'nl.voidcorp.alarmclock.SchoolTimerKt' } } shadowJar { baseName = 'schooltimer' classifier = null version = null }