and use a consistent version across modules
ide.dependsOn(['generateProto', 'generateTestProto'])
}
+ if (file('package.json').exists()) {
+ apply plugin: 'com.moowork.node'
+
+ node {
+ version = '8.11.4'
+ yarnVersion = '1.9.4'
+ download = true
+ }
+ }
+
if (official) {
jar {
// do not break incremental build on non official versions
group = 'com.sonarsource.sonarqube'
-apply plugin: 'com.moowork.node'
-
-node {
- version = '8.10.0'
- yarnVersion = '1.5.1'
- download = true
-}
-
yarn_run {
inputs.dir('src').withPathSensitivity(PathSensitivity.RELATIVE)
inputs.files('gatsby-config.js', 'gatsby-node.js', 'package.json', 'yarn.lock')
}
}
-apply plugin: 'com.moowork.node'
-
-node {
- version = '8.10.0'
- yarnVersion = '1.7.0'
- download = true
-}
-
yarn_run {
['config', 'public', 'scripts', 'src'].each {
inputs.dir(it).withPathSensitivity(PathSensitivity.RELATIVE)
}
}
-apply plugin: 'com.moowork.node'
-
configurations {
branding
}
dependsOn copyBrandingFile
}
-node {
- version = '8.10.0'
- yarnVersion = '1.7.0'
- download = true
-}
-
yarn_run {
if (official) { dependsOn copyBranding }
['config', 'public', 'scripts', 'src', '../sonar-docs/src'].each {