buildscript { repositories { mavenCentral() } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } group 'online.anthonycicchetti' version '0.1.0' apply plugin: 'java-library' apply plugin: 'kotlin' repositories { mavenCentral() } dependencies { api 'com.fasterxml.jackson.module:jackson-module-kotlin:2.9.+' } compileKotlin { kotlinOptions.jvmTarget = "1.8" } compileTestKotlin { kotlinOptions.jvmTarget = "1.8" }