Kotlin / kotlin-frontend-plugin

Gradle Kotlin (http://kotlinlang.org) plugin for frontend development
Apache License 2.0
561 stars 69 forks source link

Seems to be conflicting with new `kotlin("js")` plugin #153

Open altavir opened 5 years ago

altavir commented 5 years ago
* What went wrong:
An exception occurred applying plugin request [id: 'org.jetbrains.kotlin.frontend', artifact: 'org.jetbrains.kotlin:kotlin-frontend-plugin:0.0.45']
> Failed to apply plugin [id 'org.gradle.java']
   > Cannot add task 'processResources' as a task with that name already exists.
productivityunleashed commented 4 years ago

@altavir Were you able to solve the issue or any workaround ?

altavir commented 4 years ago

@productivityunleashed frontend plugin is obsolete and should be replaced by general kotlin("js") or kotlin("multiplatform") plugin since 1.3.60. Since 1.3.70 it supports DCE and other useful features You should use newer version of kotlin plugin and remove frontend plugin.