aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-vsts
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-vsts')
-rw-r--r--server/sonar-vsts/build.gradle5
-rw-r--r--server/sonar-vsts/package.json8
2 files changed, 6 insertions, 7 deletions
diff --git a/server/sonar-vsts/build.gradle b/server/sonar-vsts/build.gradle
index 0fcc093a369..c1631df9969 100644
--- a/server/sonar-vsts/build.gradle
+++ b/server/sonar-vsts/build.gradle
@@ -18,11 +18,10 @@ yarn_run {
}
outputs.dir('build/webapp')
outputs.cacheIf { true }
-
+ dependsOn(yarn, ':server:sonar-web:yarn')
args = ['build']
}
-
-yarn_run.dependsOn ':server:sonar-web:yarn_run'
+build.dependsOn(yarn_run)
def sources = fileTree(dir: "src") + fileTree(dir: "scripts") + fileTree(dir: "config")
diff --git a/server/sonar-vsts/package.json b/server/sonar-vsts/package.json
index 1675be0ffa2..3fe1a9603c1 100644
--- a/server/sonar-vsts/package.json
+++ b/server/sonar-vsts/package.json
@@ -27,11 +27,11 @@
"babel-plugin-dynamic-import-node": "1.1.0",
"babel-plugin-lodash": "3.3.2",
"babel-plugin-syntax-dynamic-import": "6.18.0",
- "babel-plugin-transform-class-properties": "6.22.0",
+ "babel-plugin-transform-class-properties": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "6.26.0",
- "babel-plugin-transform-react-constant-elements": "6.22.0",
- "babel-plugin-transform-react-jsx-self": "6.22.0",
- "babel-plugin-transform-react-jsx-source": "6.22.0",
+ "babel-plugin-transform-react-constant-elements": "^6.22.0",
+ "babel-plugin-transform-react-jsx-self": "^6.22.0",
+ "babel-plugin-transform-react-jsx-source": "^6.22.0",
"babel-preset-env": "1.6.1",
"babel-preset-react": "6.22.0",
"chalk": "2.3.2",