Alfred Lopez
09/10/2021, 8:55 PMrootProject.plugins.withType(NodeJsRootPlugin::class) {
var nodeJsRootExt = rootProject.the<NodeJsRootExtension>()
nodeJsRootExt.download = false
nodeJsRootExt.nodeVersion = "16.15.4"
}
rootProject.plugins.withType(YarnPlugin::class) {
var gsmlYarnRootExt = rootProject.the<YarnRootExtension>()
gsmlYarnRootExt.download = false
gsmlYarnRootExt.version = "1.22.11"
}
For some reason, the build “sees” the assigned version numbers, but it ignores the download = false. Also, I’m using plugin version 1.5.20, and the YarnRootExtension class clearly has “download” as a field, but IntelliJ says otherwise and when I Cmd+Click to go to the definition of the class, the property is not there, which means to me that gradle is not pulling in the latest for some reason.
Do any of you have any insight to this?
Thanks!
Thread in Slack Conversation