diff options
author | David Rautureau <david.rautureau@sonarsource.com> | 2018-02-08 15:01:19 +0100 |
---|---|---|
committer | David Rautureau <david.rautureau@sonarsource.com> | 2018-03-09 11:33:38 +0100 |
commit | 1a17e4302e4b63de6b4ce7c049441803b9471524 (patch) | |
tree | 031bcfbf302c7909c5b45a7c31f1bbc00a2fce34 /sonar-ws-generator/run.sh | |
parent | 21fbe3697bdb6e66016ef8d0bea49da574e02e7d (diff) | |
download | sonarqube-1a17e4302e4b63de6b4ce7c049441803b9471524.tar.gz sonarqube-1a17e4302e4b63de6b4ce7c049441803b9471524.zip |
Move To Gradle
Diffstat (limited to 'sonar-ws-generator/run.sh')
-rwxr-xr-x | sonar-ws-generator/run.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sonar-ws-generator/run.sh b/sonar-ws-generator/run.sh index f785bcb4032..ddc5a73bc82 100755 --- a/sonar-ws-generator/run.sh +++ b/sonar-ws-generator/run.sh @@ -3,7 +3,9 @@ set -euo pipefail SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )" -cd $SCRIPTPATH -mvn clean package -Prun-ws-generator -java -jar target/sonar-ws-generator-*-SNAPSHOT-jar-with-dependencies.jar -cp -R target/generated-sources/results/org/sonarqube/ws/client/* ../sonar-ws/src/main/java/org/sonarqube/ws/client +pushd $SCRIPTPATH/.. +pwd +./gradlew :sonar-ws-generator:build :sonar-ws-generator:fatJar +popd +java -jar build/libs/sonar-ws-generator-*-SNAPSHOT-jar-with-dependencies.jar +cp -R build/generated-sources/results/org/sonarqube/ws/client/* ../sonar-ws/src/main/java/org/sonarqube/ws/client |