Files
kotlin-fork/libraries/scripting/common/build.gradle.kts
T
Ilya Chernikov 0cd29adcc7 Get rid of kotlinx-coroutines usage in scripting libs and plugins
the dependency on the coroutines library caused various problems like
KT-30778, or stdlib/runtime version conflicts.
The only function used was `runBlocking`, so this change replaces it
with the internal implementation based on the similar internal thing
from the stdlib.
#KT-30778 fixed
2021-07-19 16:35:36 +03:00

30 lines
547 B
Kotlin

plugins {
kotlin("jvm")
id("jps-compatible")
}
project.updateJvmTarget("1.6")
dependencies {
compile(kotlinStdlib())
compileOnly(project(":kotlin-reflect-api"))
testCompile(commonDep("junit"))
}
sourceSets {
"main" { projectDefault() }
"test" { projectDefault() }
}
tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>> {
kotlinOptions.freeCompilerArgs += listOf(
"-Xallow-kotlin-package", "-Xsuppress-deprecated-jvm-target-warning"
)
}
publish()
runtimeJar()
sourcesJar()
javadocJar()