Code Monkey home page Code Monkey logo

Comments (4)

nanshaqundao avatar nanshaqundao commented on July 19, 2024

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..

from cicd-pipeline-train-schedule-jenkins.

AminSaffar-hub avatar AminSaffar-hub commented on July 19, 2024

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))

from cicd-pipeline-train-schedule-jenkins.

Wasss123 avatar Wasss123 commented on July 19, 2024

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

from cicd-pipeline-train-schedule-jenkins.

coolkrini avatar coolkrini commented on July 19, 2024

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"
}

from cicd-pipeline-train-schedule-jenkins.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.