apply plugin: 'kotlin' sourceSets { main.java.srcDirs += 'src/main/kotlin' test.java.srcDirs += 'src/integrationTest/kotlin' test.resources.srcDirs += 'src/integrationTest/resources' test.output.resourcesDir = test.output.classesDir } dependencies { compile other.kotlinStdlib compile other.retrofit compile other.jacksonConverter compile other.jacksonKotlin testCompile testing.junit testCompile testing.kotlinJunit testCompile testing.mockitoKotlin testCompile testing.kluent testCompile testing.mockWebServer }