Open gopalsai opened 3 years ago
Unfortunately this plugin isn't compatible with gradle 6, you can see https://github.com/srs/gradle-node-plugin/issues/315 for the full history.
But there's a maintained fork of this plugin at https://github.com/node-gradle/gradle-node-plugin
Unfortunately this plugin isn't compatible with gradle 6, you can see #315 for the full history.
But there's a maintained fork of this plugin at https://github.com/node-gradle/gradle-node-plugin
Thank you, deepy....
I tried this version it self and Gradle didn't throw any errors. However, there is a problem with finding the version. I dont understand why its looking for a file named "- https://nodejs.org/dist/v4.9.1/ivy.xml" obviously it won't be there. How do I overcome this problem?
Thank you!!!
The way that the plugin works is that it's using an IvyRepository
to fetch a file, now the problem you're seeing is that in Gradle 5 and later you need to tell it that it's not really an ivy repository and that it shouldn't look for ivy.xml
You can see the actual change here: https://github.com/node-gradle/gradle-node-plugin/commit/9368ad44c369a92a9829f179f485957f0a84d902
What went wrong: A problem occurred evaluating script.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 642ms
Kindly, please help!!!!! we are trying to upgrade our Gradle version from 2.3 to 6.7 along with upgrading the plugin version as well and we are getting this error....
Many Thankssss, for your great work!!!