apply plugin: 'kotlin' apply plugin: 'idea' sourceSets { integrationTest { kotlin { compileClasspath += main.output + test.output runtimeClasspath += main.output + test.output srcDir file('src/integration-test/kotlin') } } } configurations { integrationTestCompile.extendsFrom testCompile integrationTestRuntime.extendsFrom testRuntime } dependencies { compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" compile project(':core') compile project(':node-api') testCompile project(':test-utils') testCompile project(':node-driver') testCompile "junit:junit:$junit_version" }