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