Closed sebnozzi closed 7 years ago
Please use jsweet-gradle-plugin version 1.2.0-SNAPSHOT, it should be better. Same goes for your candies, please use the latest version. Indeed, you specify invalid candies version. For instance, jsweet-core 1.0.2-SNAPSHOT does not exist.
Hope it helps :)
I am really at a loss, even when changing the version to 1.2.0-SNAPSHOT I get complaints from gradle.
Do you think the README could be properly updated to provide more reliable instructions to newcomers like me? :-) (especially given the outcome of issue #4)
I think issue #4 was another topic, just about using JSweet transpiler v1.2.0-SNAPSHOT. Given your initial Gradle error, the problem was that your jsweet-core dependency had the wrong version (you could check available candies & their versions here: http://www.jsweet.org/candies-snapshots/). Now, if you fixed the dependency version, you probably have another error or I miss something :) This repository is only for the Gradle plugin, that's why the documentation focuses on it, but you have a more comprehensive documentation here: http://www.jsweet.org/
In addition, there is a good build.gradle example in: https://github.com/cincheo/jsweet-examples
Please tell me if it helped you.
@lgrignon Thanks for trying to help me out. Your kind attitude does not go unnoticed. I will try to adapt my build.gradle file from the example project you mentioned and send a PR if it works :-)
@sebnozzi no problem it's normal ;) if your problem persists, please post here your build.gradle and detailed stacktrace (gradle jsweet --stacktrace should do the trick :)), and I will take a look at it.
I am getting this error message from Gradle (2.14) through IntelliJ when trying to build my project:
The build.gradle file I'm using looks like this:
I based this from the instruction on your README file.
Any help appreciated! :-)