Open raftAtGit opened 3 years ago
As answered in other issue, please try RC11
you are quick :)
I got the same error with RC11 too.
do I need to change anything else except two locations below?
version = "3.0.0-RC11"
buildscript {
ext {
JSweetVersion = "3.0.0-RC11"
}
That's weird, it seems that JSweet version does not resolve to RC11 given the error's cause: Caused by: org.gradle.api.GradleException: Failed to create Jar file /home/raft/.gradle/caches/jars-8/e12e34b9396d58a34f6b8a04013f728f/jsweet-transpiler-3.0.0-SNAPSHOT.jar.
I will try to update jsweet examples with latest JSweet tomorrow
I just tried with https://github.com/cincheo/jsweet-examples/tree/JSweet3.0 & gradle 6.4 (my JDK is 14 btw) It worked with:
./gradlew clean jsweetClean jsweet
Did I miss something? Is it working for you?
himm, that works as it is with JDK 11.
but if I change gradle version to 6.7
in gradle-wrapper.properties
it fails with the above mentioned error:
* What went wrong:
A problem occurred configuring root project 'jsweet-examples'.
> Failed to create Jar file /home/raft/.gradle/caches/jars-8/097191b515113f05f83c76dc9a103e17/jsweet-transpiler-3.0.0-RC11.jar.
Oh, I got the same. This is really annoying :) I have no idea where this is coming from. Do you? I will keep this open, but I am not sure when I will have time to dig into it.
Can you downgrade to 6.4.1 in the mean time?
Please also note that contributions/PRs are welcome on all of our projects :)
I have no idea where this is coming from. Do you?
I have no clue either, weird error.
Can you downgrade to 6.4.1 in the mean time?
No worries, it will be actually an upgrade from 5.x versions ;)
I was thinking this was failing for all 6.x versions but apparently this not the case. BTW, works with 6.5 but fails with 6.6.
Potentiel duplicate : https://github.com/lgrignon/jsweet-gradle-plugin/issues/26
I was checking the jsweet-examples for JSweet3.0 https://github.com/cincheo/jsweet-examples/tree/JSweet3.0
the gradle wrapper comes with 5.6.4 version, if I change it to 6.7, or any 6.x version as much as I tried, the plugin fails with the below error: