[Gradle, JS] Make inputFileProperty optional

This commit is contained in:
Ilya Goncharov
2020-04-14 15:42:29 +03:00
parent 4ecedf2e3b
commit fbac2f5ea3
@@ -1,6 +1,6 @@
/*
* Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.gradle.targets.js.nodejs
@@ -32,6 +32,7 @@ open class NodeJsExec : AbstractExecTask<NodeJsExec>(NodeJsExec::class.java), Re
@Input
var sourceMapStackTraces = true
@Optional
@InputFile
val inputFileProperty: RegularFileProperty = project.newFileProperty()