[JS, IR] Deprecated outputFile
This commit is contained in:
+5
@@ -16,6 +16,11 @@ class K2JSCompilerArguments : CommonCompilerArguments() {
|
|||||||
@JvmStatic private val serialVersionUID = 0L
|
@JvmStatic private val serialVersionUID = 0L
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@GradleDeprecatedOption(
|
||||||
|
"Only for legacy backend. For IR backend please use task.destinationDirectory and moduleName",
|
||||||
|
"1.10",
|
||||||
|
DeprecationLevel.WARNING
|
||||||
|
)
|
||||||
@GradleOption(
|
@GradleOption(
|
||||||
value = DefaultValues.StringNullDefault::class,
|
value = DefaultValues.StringNullDefault::class,
|
||||||
gradleInputType = GradleInputTypes.INTERNAL // handled by task 'outputFileProperty'
|
gradleInputType = GradleInputTypes.INTERNAL // handled by task 'outputFileProperty'
|
||||||
|
|||||||
+1
-1
@@ -63,7 +63,7 @@ interface KotlinJsOptions : org.jetbrains.kotlin.gradle.dsl.KotlinCommonOptions
|
|||||||
* Destination *.js file for the compilation result
|
* Destination *.js file for the compilation result
|
||||||
* Default value: null
|
* Default value: null
|
||||||
*/
|
*/
|
||||||
@Deprecated(message = "Use task 'outputFileProperty' to specify location", level = DeprecationLevel.WARNING)
|
@Deprecated(message = "Only for legacy backend. For IR backend please use task.destinationDirectory and moduleName", level = DeprecationLevel.WARNING)
|
||||||
var outputFile: kotlin.String?
|
var outputFile: kotlin.String?
|
||||||
get() = options.outputFile.orNull
|
get() = options.outputFile.orNull
|
||||||
set(value) = options.outputFile.set(value)
|
set(value) = options.outputFile.set(value)
|
||||||
|
|||||||
Reference in New Issue
Block a user