[Gradle, JS] Empty compiler plugin classpath for KotlinJsIrLink
^KT-42245 fixed
This commit is contained in:
+4
@@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
package org.jetbrains.kotlin.gradle.targets.js.ir
|
package org.jetbrains.kotlin.gradle.targets.js.ir
|
||||||
|
|
||||||
|
import org.gradle.api.file.FileCollection
|
||||||
import org.gradle.api.file.FileTree
|
import org.gradle.api.file.FileTree
|
||||||
import org.gradle.api.file.RegularFileProperty
|
import org.gradle.api.file.RegularFileProperty
|
||||||
import org.gradle.api.tasks.*
|
import org.gradle.api.tasks.*
|
||||||
@@ -21,6 +22,9 @@ import java.io.File
|
|||||||
|
|
||||||
@CacheableTask
|
@CacheableTask
|
||||||
open class KotlinJsIrLink : Kotlin2JsCompile() {
|
open class KotlinJsIrLink : Kotlin2JsCompile() {
|
||||||
|
// Link tasks are not affected by compiler plugin
|
||||||
|
override val pluginClasspath: FileCollection = project.objects.fileCollection()
|
||||||
|
|
||||||
@Input
|
@Input
|
||||||
lateinit var mode: KotlinJsBinaryMode
|
lateinit var mode: KotlinJsBinaryMode
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -213,7 +213,7 @@ abstract class AbstractKotlinCompile<T : CommonCompilerArguments>() : AbstractKo
|
|||||||
|
|
||||||
@get:InputFiles
|
@get:InputFiles
|
||||||
@get:Classpath
|
@get:Classpath
|
||||||
val pluginClasspath: FileCollection = project.configurations.getByName(PLUGIN_CLASSPATH_CONFIGURATION_NAME)
|
open val pluginClasspath: FileCollection = project.configurations.getByName(PLUGIN_CLASSPATH_CONFIGURATION_NAME)
|
||||||
|
|
||||||
@get:Internal
|
@get:Internal
|
||||||
internal val pluginOptions = CompilerPluginOptions()
|
internal val pluginOptions = CompilerPluginOptions()
|
||||||
|
|||||||
Reference in New Issue
Block a user