Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gradle 4.6 not compatible with java 11 #30

Open
nnellans opened this issue Sep 24, 2019 · 4 comments
Open

gradle 4.6 not compatible with java 11 #30

nnellans opened this issue Sep 24, 2019 · 4 comments

Comments

@nnellans
Copy link

nnellans commented Sep 24, 2019

This won't build for me. It looks like gradle 4.6 is being used, and I have java 11 installed on my build machine. After doing some reading, it looks like gradle 4.x does not support java 11. It needs to be gradle 5.x to support java 11.

@nanshaqundao
Copy link

This won't build for me. It looks like gradle 4.6 is being used, and I have java 11 installed on my build machine. After doing some reading, it looks like gradle 4.x does not support java 11. It needs to be gradle 5.x to support java 11.

yeah... same issue remains :)
I guess we have to update the version ourselves..
This repo might not be maintained as you can see over 60 PR outstanding..

@AminSaffar-hub
Copy link

the same issue still remain. I updated the gradle version to 8.x but some of the methods used are now deprecated (c,f setDestination(File file))

@Wasss123
Copy link

I get this error when trying to run the app :

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':nodeSetup'.

Could not resolve all files for configuration ':detachedConfiguration1'.
Could not resolve org.nodejs:node:9.11.1.
Required by:
project :
> Could not resolve org.nodejs:node:9.11.1.
> Could not get resource 'https://nodejs.org/dist/v9.11.1/ivy.xml'.
> Could not GET 'https://nodejs.org/dist/v9.11.1/ivy.xml'. Received status code 403 from server: Forbidden

  • 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 1s
1 actionable task: 1 executed

@coolkrini
Copy link

changing the code in build.gradle file as below has worked for me.

plugins {
//inlude the nodeJS plugin to execute nodejs and npm tasks
id("com.github.node-gradle.node") version "2.2.4"
}

node {
download = true
version = "9.11.2"
npmVersion = "5.6.0"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants