[Gradle, JS] Fix text after proof read
#KT-35641 fixed #KT-35611 fixed
This commit is contained in:
+3
-4
@@ -717,10 +717,9 @@ internal open class Kotlin2JsPlugin(
|
|||||||
override fun apply(project: Project) {
|
override fun apply(project: Project) {
|
||||||
project.logger.warn(
|
project.logger.warn(
|
||||||
"""
|
"""
|
||||||
Please pay attention:
|
The `kotlin2js` Gradle plugin has been deprecated.
|
||||||
`kotlin2js` plugin is deprecated.
|
Please use `org.jetbrains.kotlin.js` plugin instead.
|
||||||
Please follow https://kotlinlang.org/docs/reference/js-project-setup.html to set up project with `org.jetbrains.kotlin.js` plugin
|
For usage details, see https://kotlinlang.org/docs/reference/js-project-setup.html
|
||||||
|
|
||||||
""".trimIndent()
|
""".trimIndent()
|
||||||
)
|
)
|
||||||
val target = KotlinWithJavaTarget<KotlinJsOptions>(project, KotlinPlatformType.js, targetName)
|
val target = KotlinWithJavaTarget<KotlinJsOptions>(project, KotlinPlatformType.js, targetName)
|
||||||
|
|||||||
+4
-6
@@ -22,12 +22,10 @@ class KotlinJsDcePlugin : Plugin<Project> {
|
|||||||
override fun apply(project: Project) {
|
override fun apply(project: Project) {
|
||||||
project.logger.warn(
|
project.logger.warn(
|
||||||
"""
|
"""
|
||||||
Please pay attention:
|
The `kotlin-dce-js` Gradle plugin has been deprecated.
|
||||||
`kotlin-dce-js` plugin is deprecated.
|
DCE is now integrated in the `org.jetbrains.kotlin.js` plugin.
|
||||||
DCE is automatically integrated in `org.jetbrains.kotlin.js` plugin
|
For plugin usage details, see https://kotlinlang.org/docs/reference/js-project-setup.html.
|
||||||
Please follow https://kotlinlang.org/docs/reference/js-project-setup.html to set up project with `org.jetbrains.kotlin.js` plugin.
|
For more details about JavaScript DCE, see https://kotlinlang.org/docs/reference/javascript-dce.html
|
||||||
Additional information about JavaScript DCE you can fin here - https://kotlinlang.org/docs/reference/javascript-dce.html
|
|
||||||
|
|
||||||
""".trimIndent()
|
""".trimIndent()
|
||||||
)
|
)
|
||||||
val kotlinExtension =
|
val kotlinExtension =
|
||||||
|
|||||||
Reference in New Issue
Block a user