Gradle, Kotlin/JS: enable source maps by default, get it working on tests.

Publish kotlin-test-nodejs-runner separately from kotlin-gradle-plugin.
This commit is contained in:
Sergey Rostov
2019-03-25 15:39:03 +03:00
parent a4cbec64b7
commit 0e0c78317d
17 changed files with 586 additions and 135 deletions
@@ -46,6 +46,8 @@ dependencies {
compileOnly(project(":kotlin-annotation-processing-gradle"))
compileOnly(project(":kotlin-scripting-compiler"))
compile("com.google.code.gson:gson:2.8.5")
compileOnly("com.android.tools.build:gradle:2.0.0")
compileOnly("com.android.tools.build:gradle-core:2.0.0")
compileOnly("com.android.tools.build:builder:2.0.0")
@@ -62,8 +64,7 @@ dependencies {
runtime(projectRuntimeJar(":kotlin-scripting-compiler-embeddable"))
runtime(project(":kotlin-reflect"))
jarContents(compileOnly(intellijDep()) { includeJars("serviceMessages") })
jarContents(projectArchives(":kotlin-test-nodejs-runner"))
jarContents(compileOnly(intellijDep()) { includeJars("serviceMessages", "gson-2.8.5") })
// com.android.tools.build:gradle has ~50 unneeded transitive dependencies
compileOnly("com.android.tools.build:gradle:3.0.0") { isTransitive = false }