srs / gradle-node-plugin

Gradle plugin for integrating NodeJS in your build. :rocket:
Apache License 2.0
867 stars 210 forks source link

incompatibility with Gradle 6.0-RC1: node.js download fails #352

Closed xzel23 closed 4 years ago

xzel23 commented 4 years ago

This is more or less the same as #292 . However, I am not behind a proxy, and the problem only shows when using the plugin on Gradle 6.0-RC1. If I call an older Gradle version like 5.6.1, the build is successful. FWIW gradle 6.0 final is expected to be released next week.

axel@xiaolong fx % ./gradlew                        
> Task :fx-editors:fx-editors-text:nodeSetup FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':fx-editors:fx-editors-text:nodeSetup'.
> Could not resolve all files for configuration ':fx-editors:fx-editors-text:detachedConfiguration1'.
   > Could not find org.nodejs:node:12.9.1.
     Searched in the following locations:
       - https://nodejs.org/dist/v12.9.1/ivy.xml
     Required by:
         project :fx-editors:fx-editors-text

* 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.0-rc-1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 4s
50 actionable tasks: 47 executed, 3 from cache

axel@xiaolong fx % ./gradlew --version

------------------------------------------------------------
Gradle 6.0-rc-1
------------------------------------------------------------

Build time:   2019-10-18 19:24:16 UTC
Revision:     5ed5fea1446b3300afa321c661d6e865ab3157a1

Kotlin:       1.3.50
Groovy:       2.5.8
Ant:          Apache Ant(TM) version 1.10.7 compiled on September 1 2019
JVM:          13 (Azul Systems, Inc. 13+33)
OS:           Mac OS X 10.15 x86_64
xzel23 commented 4 years ago

Just saw that this is the same as #351. Don't know how I could miss that. Sorry.