Revert "[Gradle, JS] Output file path as input fo js compile task"
This reverts commit df173c8c
This commit is contained in:
+3
-7
@@ -216,7 +216,6 @@ abstract class AbstractKotlinCompile<T : CommonCompilerArguments>() : AbstractKo
|
|||||||
|
|
||||||
@get:Internal
|
@get:Internal
|
||||||
internal var coroutinesFromGradleProperties: Coroutines? = null
|
internal var coroutinesFromGradleProperties: Coroutines? = null
|
||||||
|
|
||||||
// Input is needed to force rebuild even if source files are not changed
|
// Input is needed to force rebuild even if source files are not changed
|
||||||
@get:Input
|
@get:Input
|
||||||
internal val coroutinesStr: String
|
internal val coroutinesStr: String
|
||||||
@@ -528,13 +527,10 @@ open class Kotlin2JsCompile : AbstractKotlinCompile<K2JSCompilerArguments>(), Ko
|
|||||||
else -> incremental
|
else -> incremental
|
||||||
}
|
}
|
||||||
|
|
||||||
@get:Internal
|
@Suppress("unused")
|
||||||
|
@get:OutputFile
|
||||||
val outputFile: File
|
val outputFile: File
|
||||||
get() = outputFilePath?.let(::File) ?: defaultOutputFile
|
get() = kotlinOptions.outputFile?.let(::File) ?: defaultOutputFile
|
||||||
|
|
||||||
@get:Input
|
|
||||||
val outputFilePath: String?
|
|
||||||
get() = kotlinOptions.outputFile
|
|
||||||
|
|
||||||
override fun findKotlinCompilerClasspath(project: Project): List<File> =
|
override fun findKotlinCompilerClasspath(project: Project): List<File> =
|
||||||
findKotlinJsCompilerClasspath(project)
|
findKotlinJsCompilerClasspath(project)
|
||||||
|
|||||||
Reference in New Issue
Block a user