]> source.dussan.org Git - sonarqube.git/commitdiff
Order list of Gradle dependencies
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Sat, 10 Mar 2018 13:09:04 +0000 (14:09 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 12 Mar 2018 08:24:24 +0000 (09:24 +0100)
server/sonar-server/build.gradle
sonar-application/build.gradle
sonar-core/build.gradle
sonar-duplications/build.gradle
sonar-home/build.gradle
sonar-markdown/build.gradle
sonar-scanner-protocol/build.gradle
sonar-testing-harness/build.gradle
sonar-ws-generator/build.gradle
sonar-ws/build.gradle
tests/build.gradle

index 327e4a3ad86732aef7e9080af90eb7972a76a194..9bb11231e8a35038be4c92e1da5c20841c65424f 100644 (file)
@@ -18,12 +18,12 @@ dependencies {
   compile 'ch.qos.logback:logback-access'
   compile 'ch.qos.logback:logback-classic'
   compile 'ch.qos.logback:logback-core'
-  compile 'commons-dbcp:commons-dbcp'
-  compile 'commons-dbutils:commons-dbutils'
-  compile 'com.googlecode.java-diff-utils:diffutils'
   compile 'com.google.code.gson:gson'
   compile 'com.google.protobuf:protobuf-java'
+  compile 'com.googlecode.java-diff-utils:diffutils'
   compile 'com.hazelcast:hazelcast-client'
+  compile 'commons-dbcp:commons-dbcp'
+  compile 'commons-dbutils:commons-dbutils'
   compile 'io.jsonwebtoken:jjwt'
   compile 'javax.xml.bind:jaxb-api'
   compile 'org.apache.commons:commons-email'
index bb8b58b74dccaeee4a84e2df31a21680aa7efdb7..aad5006205fb055166275be710a0818351e8239a 100644 (file)
@@ -28,6 +28,8 @@ configurations {
 }
 
 dependencies {
+  // please keep list ordered
+
   compile 'org.elasticsearch.client:transport'
   compile project(':server:sonar-main')
   compile project(':server:sonar-process')
@@ -40,21 +42,21 @@ dependencies {
   server project(':server:sonar-server')
   webapp project(path: ':server:sonar-web', configuration: 'archives')
 
+  jdbc_h2 'com.h2database:h2'
   jdbc_mssql 'com.microsoft.sqlserver:mssql-jdbc'
   jdbc_mysql 'mysql:mysql-connector-java'
   jdbc_postgresql 'org.postgresql:postgresql'
-  jdbc_h2 'com.h2database:h2'
 
+  bundledPlugin 'org.sonarsource.dotnet:sonar-csharp-plugin:6.7.1.4347@jar'
+  bundledPlugin 'org.sonarsource.flex:sonar-flex-plugin:2.3@jar'
   bundledPlugin 'org.sonarsource.java:sonar-java-plugin:5.1.0.13090@jar'
   bundledPlugin 'org.sonarsource.javascript:sonar-javascript-plugin:4.0.0.5862@jar'
-  bundledPlugin 'org.sonarsource.dotnet:sonar-csharp-plugin:6.7.1.4347@jar'
-  bundledPlugin 'org.sonarsource.scm.git:sonar-scm-git-plugin:1.4.0.1037@jar'
-  bundledPlugin 'org.sonarsource.scm.svn:sonar-scm-svn-plugin:1.7.0.1017@jar'
   bundledPlugin 'org.sonarsource.php:sonar-php-plugin:2.12.1.3018@jar'
   bundledPlugin 'org.sonarsource.python:sonar-python-plugin:1.9.0.2010@jar'
-  bundledPlugin 'org.sonarsource.flex:sonar-flex-plugin:2.3@jar'
-  bundledPlugin 'org.sonarsource.xml:sonar-xml-plugin:1.4.3.1027@jar'
+  bundledPlugin 'org.sonarsource.scm.git:sonar-scm-git-plugin:1.4.0.1037@jar'
+  bundledPlugin 'org.sonarsource.scm.svn:sonar-scm-svn-plugin:1.7.0.1017@jar'
   bundledPlugin 'org.sonarsource.typescript:sonar-typescript-plugin:1.5.0.2122@jar'
+  bundledPlugin 'org.sonarsource.xml:sonar-xml-plugin:1.4.3.1027@jar'
 
   testCompile 'junit:junit'
   testCompile 'org.assertj:assertj-core'
index e9cd948163e01c8bdacfd1e80debfb613a3dd76b..768ec42b2473a49acee5f632fce22df749d7b298 100644 (file)
@@ -9,26 +9,30 @@ configurations {
 }
 
 dependencies {
-  compileOnly 'com.google.code.findbugs:jsr305'
+  // please keep list ordered
+
+  compile 'ch.qos.logback:logback-classic'
+  compile 'ch.qos.logback:logback-core'
+  compile 'com.google.protobuf:protobuf-java'
   compile 'commons-codec:commons-codec'
   compile 'org.apache.commons:commons-csv'
-  compile 'org.picocontainer:picocontainer'
-  compile 'com.google.protobuf:protobuf-java'
   compile 'org.codehaus.sonar:sonar-classloader'
-  compile project(path: ':sonar-plugin-api', configuration: 'shadow')
-  compile 'org.sonarsource.update-center:sonar-update-center-common'
+  compile 'org.picocontainer:picocontainer'
   compile 'org.slf4j:slf4j-api'
-  compile 'ch.qos.logback:logback-classic'
-  compile 'ch.qos.logback:logback-core'
+  compile 'org.sonarsource.update-center:sonar-update-center-common'
+  compile project(path: ':sonar-plugin-api', configuration: 'shadow')
+
+  compileOnly 'com.google.code.findbugs:jsr305'
 
   includeInResources project(path: ':sonar-plugin-api-deps', configuration: 'shadow')
 
+  testCompile 'com.tngtech.java:junit-dataprovider'
   testCompile 'junit:junit'
   testCompile 'org.assertj:assertj-core'
-  testCompile 'com.tngtech.java:junit-dataprovider'
   testCompile 'org.mockito:mockito-core'
-  testCompile project(':sonar-testing-harness')
   testCompile 'org.simpleframework:simple'
+  testCompile project(':sonar-testing-harness')
+
   testCompileOnly 'com.google.code.findbugs:jsr305'
 }
 
index 540f457de8f4e347296b9f9d35dc8e908f028125..a45feb6dca7dfe8f8a19e184fcf6a63af039c224 100644 (file)
@@ -5,6 +5,8 @@ sonarqube {
 }
 
 dependencies {
+  // please keep list ordered
+
   compile 'org.codehaus.sonar:sonar-channel'
 
   compileOnly 'com.google.code.findbugs:jsr305'
index a367fdd6c35b9ae51f3471d411e30079c01715b5..ea6d5b07f444c99d944ff98e93a1f6035cd71d24 100644 (file)
@@ -5,6 +5,8 @@ sonarqube {
 }
 
 dependencies {
+  // please keep list ordered
+
   compileOnly 'com.google.code.findbugs:jsr305'
 
   testCompile 'commons-codec:commons-codec'
index 28282eadad5cff61086883497367f5f645a25d28..7b46ac42b1f9729bdcca180e26a1fdcef3e7060a 100644 (file)
@@ -5,6 +5,8 @@ sonarqube {
 }
 
 dependencies {
+  // please keep list ordered
+
   compile 'commons-lang:commons-lang'
   compile 'org.codehaus.sonar:sonar-channel'
   compile 'org.slf4j:slf4j-api'
index b852cfa3e1664738af3e0ff878f10fb5b4257126..ba5129d508a3b7fac5fa58e20adb04eb40c9b301 100644 (file)
@@ -6,9 +6,10 @@ sonarqube {
 }
 
 dependencies {
-  compile 'commons-io:commons-io'
+  // please keep the list ordered
   compile 'com.google.code.gson:gson'
   compile 'com.google.protobuf:protobuf-java'
+  compile 'commons-io:commons-io'
   compile 'net.jpountz.lz4:lz4'
   compile project(':sonar-core')
 
@@ -16,9 +17,9 @@ dependencies {
 
   testCompile 'com.google.guava:guava'
   testCompile 'junit:junit'
+  testCompile 'net.javacrumbs.json-unit:json-unit-assertj:0.0.15'
   testCompile 'org.assertj:assertj-core'
   testCompile 'org.mockito:mockito-core'
-  testCompile 'net.javacrumbs.json-unit:json-unit-assertj:0.0.15'
 }
 
 // Used by sonar-db-core to run DB Unit Tests
index 3908c075238c65362840fd6f8e1430a420bc2781..2fa44152a99a3e6469d688db4ae30e73d136b75e 100644 (file)
@@ -5,9 +5,11 @@ sonarqube {
 }
 
 dependencies {
-  compile 'commons-io:commons-io'
-  compile 'com.googlecode.json-simple:json-simple'
+  // please keep list ordered
+
   compile 'com.google.code.gson:gson'
+  compile 'com.googlecode.json-simple:json-simple'
+  compile 'commons-io:commons-io'
   compile 'junit:junit'
   compile 'org.hamcrest:hamcrest-core'
 
index 01c9b640ea69f615031f57fe93b731fd4c3fe302..d3834abfe1bed8efc8ccb9f2e366d431ccb60fb0 100644 (file)
@@ -3,6 +3,8 @@ sonarqube {
 }
 
 dependencies {
+  // please keep list ordered
+
   compile 'com.google.code.gson:gson:2.8.2'
   compile 'com.google.guava:guava'
   compile 'org.apache.velocity:velocity:1.7'
index 5695a5a774dd13fe1f30352d85682b043d3682fd..4080e7048a5cf4b88292404d36fce50609f42a2d 100644 (file)
@@ -10,16 +10,18 @@ configurations {
 }
 
 dependencies {
-  compile 'commons-io:commons-io'
+  // please keep list ordered
+
   compile 'com.google.guava:guava'
   compile 'com.google.protobuf:protobuf-java'
   compile 'com.squareup.okhttp3:okhttp'
+  compile 'commons-io:commons-io'
 
   compileOnly 'com.google.code.findbugs:jsr305'
   compileOnly project(path: ':sonar-plugin-api', configuration: 'shadow')
 
-  testCompile 'commons-lang:commons-lang'
   testCompile 'com.squareup.okhttp3:mockwebserver'
+  testCompile 'commons-lang:commons-lang'
   testCompile 'junit:junit'
   testCompile 'org.assertj:assertj-core'
   testCompile 'org.mockito:mockito-core'
index 3f4d6d8c61ebd447e2a98ded0df0301ef9a75174..17d053aba7c3665dffdf0f8c955a88c6838d1e80 100644 (file)
@@ -42,26 +42,28 @@ def pluginsForITs = [
 ]
 
 dependencies {
-  testCompile 'org.sonarsource.orchestrator:sonar-orchestrator'
-  testCompile project(':server:sonar-qa-util')
-  testCompile project(':sonar-ws')
+  // please keep list ordered
+
   // required version 23.0 for selenide
   testCompile 'com.google.guava:guava:23.0'
+  testCompile 'com.googlecode.json-simple:json-simple'
+  testCompile 'com.microsoft.sqlserver:mssql-jdbc'
+  testCompile 'com.oracle.jdbc:ojdbc8'
+  testCompile 'com.squareup.okhttp3:mockwebserver'
   testCompile 'junit:junit'
+  testCompile 'mysql:mysql-connector-java'
   testCompile 'org.assertj:assertj-core'
   testCompile 'org.assertj:assertj-guava'
-  testCompile 'com.googlecode.json-simple:json-simple'
-  testCompile 'org.skyscreamer:jsonassert:1.2.0'
-  testCompile 'com.squareup.okhttp3:mockwebserver'
-  testCompile 'org.subethamail:subethasmtp'
+  testCompile "org.eclipse.jetty:jetty-proxy:${jettyVersion}"
   testCompile "org.eclipse.jetty:jetty-server:${jettyVersion}"
   testCompile "org.eclipse.jetty:jetty-servlet:${jettyVersion}"
-  testCompile "org.eclipse.jetty:jetty-proxy:${jettyVersion}"
   testCompile "org.jboss.byteman:byteman-submit:${bytemanVersion}"
-  testCompile 'com.microsoft.sqlserver:mssql-jdbc'
-  testCompile 'mysql:mysql-connector-java'
   testCompile 'org.postgresql:postgresql'
-  testCompile 'com.oracle.jdbc:ojdbc8'
+  testCompile 'org.skyscreamer:jsonassert:1.2.0'
+  testCompile 'org.sonarsource.orchestrator:sonar-orchestrator'
+  testCompile 'org.subethamail:subethasmtp'
+  testCompile project(':server:sonar-qa-util')
+  testCompile project(':sonar-ws')
 
   includeInTestResources "org.jboss.byteman:byteman:${bytemanVersion}"
 }