gradle / gradle/playframework

How do I specify ECMASCRIPT6 as a --language_in parameter in the JavaScriptMinifyWorkAction task?

Open
#181 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
47
Forks
41
PR merge metrics
No merged PRs in 30d

Description

I am having a problem converting my application from sbt to gradle, the error is like this

```
A failure occurred while executing org.gradle.playframework.tasks.internal.JavaScriptMinifyWorkAction
Minification failed with the following errors:
ES6_FEATURE. this language feature is only supported in es6 mode: const declarations. Use --language_in=ECMASCRIPT6 or ECMASCRIPT6_STRICT to enable ES6 features. at /app/app/assets/javascripts/characters.js line 69 : 18
```

so I understand that I need to add this feature, but I don't know how to do this in my configuration and I can't find any documentation on how to configure how the task will work

does anybody here know how?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.