plugins { id 'org.jetbrains.kotlin.jvm' version '1.3.11' id "com.fizzed.rocker" version "1.2.1" id 'java' } group "space.anity" version "1.0-SNAPSHOT" repositories { jcenter() mavenCentral() } sourceSets { main { rocker { srcDir('src/main/kotlin') } } } buildscript { repositories { mavenLocal() jcenter() maven { url "https://plugins.gradle.org/m2/" } } dependencies { classpath "gradle.plugin.com.fizzed:rocker-gradle-plugin:1.2.1" } } dependencies { compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8" compile "io.javalin:javalin:2.8.0" compile "org.slf4j:slf4j-simple:1.7.26" compile "com.fasterxml.jackson.core:jackson-databind:2.9.8" compile "com.fizzed:rocker-compiler:0.14.0" } compileKotlin { kotlinOptions.jvmTarget = "1.8" } compileTestKotlin { kotlinOptions.jvmTarget = "1.8" }