[JS, IR] Deprecated outputFile

This commit is contained in:
Ilya Goncharov
2022-07-29 16:40:59 +02:00
committed by teamcity
parent 71ab99c47f
commit 8d90173ea5
3 changed files with 6 additions and 1 deletions
@@ -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'
@@ -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)