[Gradle, JS] environment map as input, not nested

Merge-request: KT-MR-6326
Merged-by: Ilya Goncharov <Ilya.Goncharov@jetbrains.com>

^KT-51532 fixed
This commit is contained in:
Ilya Goncharov
2022-05-23 09:28:09 +00:00
committed by Space
parent fcbc6b8459
commit e452efe51b
2 changed files with 4 additions and 1 deletions
@@ -1021,6 +1021,9 @@ abstract class AbstractKotlin2JsGradlePluginIT(protected val irBackend: Boolean)
build("build") {
checkIrCompilationMessage()
// It makes sense only since Tests will be run on Gradle 7.2
assertOutputDoesNotContain("Execution optimizations have been disabled for task ':nodeTest'")
assertTasksExecuted(":nodeTest")
}
}
@@ -46,7 +46,7 @@ constructor(
private val projectPath = project.path
@Nested
@Input
var environment = mutableMapOf<String, String>()
@get:Internal