[Gradle, JS] Make inputFileProperty optional
This commit is contained in:
+3
-2
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||||
* that can be found in the license/LICENSE.txt file.
|
* 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
|
package org.jetbrains.kotlin.gradle.targets.js.nodejs
|
||||||
@@ -32,6 +32,7 @@ open class NodeJsExec : AbstractExecTask<NodeJsExec>(NodeJsExec::class.java), Re
|
|||||||
@Input
|
@Input
|
||||||
var sourceMapStackTraces = true
|
var sourceMapStackTraces = true
|
||||||
|
|
||||||
|
@Optional
|
||||||
@InputFile
|
@InputFile
|
||||||
val inputFileProperty: RegularFileProperty = project.newFileProperty()
|
val inputFileProperty: RegularFileProperty = project.newFileProperty()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user