]> source.dussan.org Git - sonarqube.git/commitdiff
Document how to open project in IDE
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Sat, 10 Mar 2018 13:56:46 +0000 (14:56 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 12 Mar 2018 08:24:24 +0000 (09:24 +0100)
README.md
build.gradle

index 80da0ae7b927cf181e84b00b67725edd27792aef..06ea0ce39aca45ca72147f2edd09d7ba597ec68a 100644 (file)
--- 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]().
index 384c8477400233d7421cec45f97cf6e53e2df0e0..253113edede2458932962e7ab15f20a73fbb7638 100644 (file)
@@ -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