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

grunt builds fail after upgrade to version 4.0.0 #17

Open
arjopoldervaart opened this issue Jan 4, 2024 · 0 comments
Open

grunt builds fail after upgrade to version 4.0.0 #17

arjopoldervaart opened this issue Jan 4, 2024 · 0 comments

Comments

@arjopoldervaart
Copy link

If we upgrade the plugin from 3.0.0 to 4.0.0, we get the following error:

Could not get unknown property 'grunt_build' for project ':wachttijden-beheer-web' of type org.gradle.api.Project.

Our gradle build file contains:

grunt {
    workDir  = file("${project.projectDir}/DesignSource")
}

node {
    nodeProjectDir = file("${project.projectDir}/DesignSource")
}

// processes your package.json before running grunt build
grunt_build.dependsOn 'npmInstall'

war {
    dependsOn 'grunt_build'
}

Do we need to make any changes to our build scripts after upgrading? We changed nodeModulesDir to nodeProjectDir but made no other changes.

Regards,
Arjo Poldervaart

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

1 participant