You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using the Node Plugin to handle our Node environment.
After updating to the newest version of the Gradle Node Plugin, the SonarQube task throws an error.
plugins {
id "org.sonarqube" version "3.0"
id "com.github.node-gradle.node" version "3.0.1"
}
node {
version = "${nodeVersion}"
download = true
}
Executing ./gradlew sonarqube fails with:
Execution failed for task ':sonarqube'. groovy.lang.MissingPropertyException: Could not get unknown property 'variant' for extension 'node' of type com.github.gradle.node.NodeExtension.
Variant is not mentioned in the documentation, but of course part of the Code
This one looks like an interesting case, so first of all, I have no idea why sonarqube would be looking at the node-plugins extension
Secondly, yes, in the old version of this plugin the one that's in this repository (and abandoned by its author see #315 for details)
But to get an idea on where it goes wrong you probably have to run with --stacktrace and an issue should probably be reported at sonarqube's issue tracker
We are using the Node Plugin to handle our Node environment.
After updating to the newest version of the Gradle Node Plugin, the SonarQube task throws an error.
Executing
./gradlew sonarqube
fails with:Execution failed for task ':sonarqube'. groovy.lang.MissingPropertyException: Could not get unknown property 'variant' for extension 'node' of type com.github.gradle.node.NodeExtension.
Variant is not mentioned in the documentation, but of course part of the Code
gradle-node-plugin/src/main/groovy/com/moowork/gradle/node/NodeExtension.groovy
Line 32 in 3052d9b
Do we have to set variant? Or does the SonarQube Plugin tries to access something which it should not care about?
The text was updated successfully, but these errors were encountered: