]> source.dussan.org Git - sonarqube.git/commitdiff
Replace Gradle plugin 'com.moowork.node' by 'com.github.node-gradle.node'
authorEvgeny Mandrikov <138671+Godin@users.noreply.github.com>
Tue, 31 Mar 2020 15:40:13 +0000 (17:40 +0200)
committersonartech <sonartech@sonarsource.com>
Tue, 31 Mar 2020 20:03:36 +0000 (20:03 +0000)
The latter one is actively maintained fork
of the not anymore maintained former.
In particular the former does not support Gradle 6.x.

build.gradle
server/sonar-web/build.gradle

index 577e81e04841512913b1b907b4e20dfa407e2f08..5e0caa4b671b3bf59802e7a579ffd378f5c0e0ad 100644 (file)
@@ -9,7 +9,7 @@ buildscript {
     classpath 'com.github.ben-manes:gradle-versions-plugin:0.28.0'
     classpath 'com.github.jengelman.gradle.plugins:shadow:5.2.0'
     classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.12'
-    classpath 'com.moowork.gradle:gradle-node-plugin:1.3.1'
+    classpath 'com.github.node-gradle:gradle-node-plugin:1.5.3'
     classpath 'gradle.plugin.nl.javadude.gradle.plugins:license-gradle-plugin:0.14.0'
     classpath 'io.spring.gradle:dependency-management-plugin:1.0.9.RELEASE'
     classpath 'net.rdrei.android.buildtimetracker:gradle-plugin:0.11.1'
@@ -411,7 +411,7 @@ subprojects {
   }
 
   if (file('package.json').exists()) {
-    apply plugin: 'com.moowork.node'
+    apply plugin: 'com.github.node-gradle.node'
 
     node {
       version = '10.15.3'
index 7949528eb51f38f9ee75b91cad59fb3132d89654..a7d2411047fbf54159c03a7a1c0cdfc82c8a83d1 100644 (file)
@@ -10,7 +10,7 @@ sonarqube {
   }
 }
 
-apply plugin: 'com.moowork.node'
+apply plugin: 'com.github.node-gradle.node'
 
 def webappDir = "${buildDir}/webapp"