Created
March 19, 2017 17:40
-
-
Save miquelbeltran/f0040c575b040cc5ed8565f8a3e09738 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| group 'node-example' | |
| version '1.0-SNAPSHOT' | |
| buildscript { | |
| ext.kotlin_version = '1.1.1' | |
| repositories { | |
| mavenCentral() | |
| } | |
| dependencies { | |
| classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | |
| } | |
| } | |
| apply plugin: 'kotlin2js' | |
| repositories { | |
| mavenCentral() | |
| } | |
| dependencies { | |
| compile "org.jetbrains.kotlin:kotlin-stdlib-js:$kotlin_version" | |
| } | |
| compileKotlin2Js.kotlinOptions { | |
| moduleKind = "commonjs" | |
| outputFile = "node/index.js" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What could cause compileKotlin2Js.kotlinOptions to be unrecognized?