diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2018-03-10 14:56:46 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2018-03-12 09:24:24 +0100 |
commit | b8634fb7e4ec5925713db6e183a62aedc3a7aac1 (patch) | |
tree | 265d5a4a5624d89328420a57777a98cd5b137e71 | |
parent | e0aed6593d678f5435ca67c52ebc0ef08d4697bf (diff) | |
download | sonarqube-b8634fb7e4ec5925713db6e183a62aedc3a7aac1.tar.gz sonarqube-b8634fb7e4ec5925713db6e183a62aedc3a7aac1.zip |
Document how to open project in IDE
-rw-r--r-- | README.md | 8 | ||||
-rw-r--r-- | build.gradle | 5 |
2 files changed, 12 insertions, 1 deletions
diff --git a/README.md b/README.md index 80da0ae7b92..06ea0ce39ac 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,14 @@ The zip distribution file is generated in `sonar-application/build/distributions # or on Windows bin\windows-x86-64\StartSonar.bat +### Open in IDE + +If the project has never been built, then build it as usual (see previous section) or use the quicker command: + + ./gradlew ide + +Then simply open the root file `build.gradle` as a project in Intellij or Eclipse. + ### Run Integration Tests Integration tests are grouped into categories, listed in [tests/build.gradle](). diff --git a/build.gradle b/build.gradle index 384c8477400..253113edede 100644 --- a/build.gradle +++ b/build.gradle @@ -59,7 +59,7 @@ subprojects { apply plugin: 'java' // protobuf must be applied after java apply plugin: 'com.google.protobuf' - apply plugin: "jacoco" + apply plugin: 'jacoco' apply plugin: 'idea' // do not deploy to Artifactory by default @@ -253,6 +253,9 @@ subprojects { } } + task ide(dependsOn: ['generateProto', 'generateTestProto']) { + } + if (release) { jar { // do not break incremental build on non-release versions |