Kotlin / kotlin-frontend-plugin

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

Fix Gradle file in README example #142

Open rdbatch02 opened 5 years ago

rdbatch02 commented 5 years ago

Applying frontend plugin before kotlin2js results in an error from Gradle:

> Failed to apply plugin [id 'org.jetbrains.kotlin.frontend']
   > Extension with name 'kotlin' does not exist. Currently registered extension names: [ext, defaultArtifacts, reporting, sourceSets, java]

This can be confusing for people who are looking at the sample code.