We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 file: `buildscript { repositories { maven { url "https://plugins.gradle.org/m2/" } } dependencies { classpath "com.github.node-gradle:gradle-node-plugin:3.0.0-rc4" } }
apply plugin: "com.github.node-gradle.node"
node { download = true version = "12.18.3" }
task some_task { doLast {
} }
npm_run_build.dependsOn(some_task) ` gradle npm_run_build
Could not get unknown property 'npm_run_build' for project ':frontend' of type org.gradle.api.Project.
Second issues: I cannot depend on this task in another module like this: dependsOn ':frontend:npm_run_build'
dependsOn ':frontend:npm_run_build'
Task with path ':frontend:npm_run_build' not found in project ':deploy'.
The text was updated successfully, but these errors were encountered:
Does it work if you change to the following?
tasks.named("npm_run_build").configure { dependsOn tasks.getByName("some_task") }
Sorry, something went wrong.
No branches or pull requests
Gradle file:
`buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.github.node-gradle:gradle-node-plugin:3.0.0-rc4"
}
}
apply plugin: "com.github.node-gradle.node"
node {
download = true
version = "12.18.3"
}
task some_task {
doLast {
}
}
npm_run_build.dependsOn(some_task)
`
gradle npm_run_build
Second issues:
I cannot depend on this task in another module like this:
dependsOn ':frontend:npm_run_build'
The text was updated successfully, but these errors were encountered: