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