Build stdlib without dependency to kotlin-runtime and kotlin-test.

This commit is contained in:
Ilya Gorbunov
2017-02-24 04:10:30 +03:00
parent decccfd0d1
commit 780e12f04a
2 changed files with 71 additions and 14 deletions
+5 -2
View File
@@ -2,7 +2,7 @@
description 'Kotlin Script Runtime'
dependencies {
compile project(':kotlin-runtime')
compileOnly project(':kotlin-stdlib')
}
sourceSets {
@@ -23,5 +23,8 @@ artifacts {
}
compileKotlin {
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package", "-module-name", "${project.name}".toString()]
kotlinOptions.freeCompilerArgs = [
"-Xallow-kotlin-package",
"-module-name", project.name
]
}