plugins { | |
kotlin("jvm") | |
id("jps-compatible") | |
} | |
jvmTarget = "1.6" | |
dependencies { | |
compile(kotlinStdlib()) | |
compile(commonDep("org.jetbrains.kotlinx", "kotlinx-coroutines-core")) { isTransitive = false } | |
testCompile(commonDep("junit")) | |
} | |
sourceSets { | |
"main" { projectDefault() } | |
"test" { projectDefault() } | |
} | |
tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>> { | |
kotlinOptions.freeCompilerArgs += "-Xallow-kotlin-package" | |
} | |
publish() | |
runtimeJar() | |
sourcesJar() | |
javadocJar() |