[Gradle, JS] Fix text after proof read

#KT-35641 fixed
#KT-35611 fixed
This commit is contained in:
Ilya Goncharov
2020-05-27 12:07:03 +03:00
parent 85e5f8a736
commit bf5810a349
2 changed files with 7 additions and 10 deletions
@@ -717,10 +717,9 @@ internal open class Kotlin2JsPlugin(
override fun apply(project: Project) {
project.logger.warn(
"""
Please pay attention:
`kotlin2js` plugin is deprecated.
Please follow https://kotlinlang.org/docs/reference/js-project-setup.html to set up project with `org.jetbrains.kotlin.js` plugin
The `kotlin2js` Gradle plugin has been deprecated.
Please use `org.jetbrains.kotlin.js` plugin instead.
For usage details, see https://kotlinlang.org/docs/reference/js-project-setup.html
""".trimIndent()
)
val target = KotlinWithJavaTarget<KotlinJsOptions>(project, KotlinPlatformType.js, targetName)
@@ -22,12 +22,10 @@ class KotlinJsDcePlugin : Plugin<Project> {
override fun apply(project: Project) {
project.logger.warn(
"""
Please pay attention:
`kotlin-dce-js` plugin is deprecated.
DCE is automatically integrated in `org.jetbrains.kotlin.js` plugin
Please follow https://kotlinlang.org/docs/reference/js-project-setup.html to set up project with `org.jetbrains.kotlin.js` plugin.
Additional information about JavaScript DCE you can fin here - https://kotlinlang.org/docs/reference/javascript-dce.html
The `kotlin-dce-js` Gradle plugin has been deprecated.
DCE is now integrated in the `org.jetbrains.kotlin.js` plugin.
For plugin usage details, see https://kotlinlang.org/docs/reference/js-project-setup.html.
For more details about JavaScript DCE, see https://kotlinlang.org/docs/reference/javascript-dce.html
""".trimIndent()
)
val kotlinExtension =