lgrignon / jsweet-gradle-plugin

Brings the power of JSweet to Gradle
Apache License 2.0
17 stars 15 forks source link

Readme contains maven example of configuration instead of gradle #1

Closed si13b closed 8 years ago

si13b commented 8 years ago

Hi!

The example in the readme of this repo gives an example of the plugin configuration, but it is in XML format (presumably for maven), instead of groovy.

I suggest something like the following:

apply plugin: 'org.jsweet.jsweet-gradle-plugin'

jsweet {
  targetVersion = EcmaScriptComplianceLevel.ES5
  bundle = false
  verbose = false
}
lgrignon commented 8 years ago

Hey Simon, yes you're totally right, I just forgot to replace the maven version, I will push a replacement example like yours soon.

Thanks :)

si13b commented 8 years ago

:+1: thanks!