[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) { 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)
@@ -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 =