Skip to content

Commit 8d90173

Browse files
ilgonmicteamcity
authored and
teamcity
committed
[JS, IR] Deprecated outputFile
1 parent 71ab99c commit 8d90173

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/K2JSCompilerArguments.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ class K2JSCompilerArguments : CommonCompilerArguments() {
1616
@JvmStatic private val serialVersionUID = 0L
1717
}
1818

19+
@GradleDeprecatedOption(
20+
"Only for legacy backend. For IR backend please use task.destinationDirectory and moduleName",
21+
"1.10",
22+
DeprecationLevel.WARNING
23+
)
1924
@GradleOption(
2025
value = DefaultValues.StringNullDefault::class,
2126
gradleInputType = GradleInputTypes.INTERNAL // handled by task 'outputFileProperty'

libraries/tools/kotlin-gradle-plugin-api/src/common/kotlin/org/jetbrains/kotlin/gradle/dsl/KotlinJsOptions.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ interface KotlinJsOptions : org.jetbrains.kotlin.gradle.dsl.KotlinCommonOptions
6363
* Destination *.js file for the compilation result
6464
* Default value: null
6565
*/
66-
@Deprecated(message = "Use task 'outputFileProperty' to specify location", level = DeprecationLevel.WARNING)
66+
@Deprecated(message = "Only for legacy backend. For IR backend please use task.destinationDirectory and moduleName", level = DeprecationLevel.WARNING)
6767
var outputFile: kotlin.String?
6868
get() = options.outputFile.orNull
6969
set(value) = options.outputFile.set(value)

libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/dsl/KotlinJsOptionsBase.kt

Whitespace-only changes.

0 commit comments

Comments
 (0)