plugins { kotlin("jvm") id("jps-compatible") } project.updateJvmTarget("1.6") dependencies { compile(kotlinStdlib()) compile(project(":kotlin-scripting-common")) testCompile(commonDep("junit")) testImplementation(commonDep("org.jetbrains.kotlinx", "kotlinx-coroutines-core")) } sourceSets { "main" { projectDefault() } "test" { projectDefault() } } tasks.withType> { kotlinOptions.freeCompilerArgs += listOf( "-Xallow-kotlin-package" ) } publish() runtimeJar() sourcesJar() javadocJar() testsJar()