From 02879291e89269d504664cee5ec59d513599bac2 Mon Sep 17 00:00:00 2001 From: Fabrice Lecomte Date: Thu, 11 Feb 2021 00:40:34 +0100 Subject: [PATCH] Sonarqube and detekt --- .env | 1 + .idea/dataSources.xml | 7 +++++ .idea/runConfigurations/Sonarqube.xml | 6 ++-- Makefile | 2 +- build.gradle.kts | 37 +++++++++++++++++++++--- docker-compose.yml | 41 +++++++++++++++++++++++++-- gradle.properties | 10 +++++-- 7 files changed, 93 insertions(+), 11 deletions(-) diff --git a/.env b/.env index 5343ea3..1006b96 100644 --- a/.env +++ b/.env @@ -5,6 +5,7 @@ DATABASE_URL=jdbc:postgresql:dc-project APP_PORT=8080 OPENAPI_PORT=8181 SONARQUBE_PORT=9002 +SONARQUBE_DB_PORT=5433 ELASTIC_REST=9200 ELASTIC_NODES=9300 diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml index 3a052ac..c5bca50 100644 --- a/.idea/dataSources.xml +++ b/.idea/dataSources.xml @@ -13,5 +13,12 @@ org.postgresql.Driver jdbc:postgresql://localhost:5432/test + + postgresql + true + org.postgresql.Driver + jdbc:postgresql://localhost:5433/sonar + $ProjectFileDir$ + \ No newline at end of file diff --git a/.idea/runConfigurations/Sonarqube.xml b/.idea/runConfigurations/Sonarqube.xml index 108a92a..af093fa 100644 --- a/.idea/runConfigurations/Sonarqube.xml +++ b/.idea/runConfigurations/Sonarqube.xml @@ -4,7 +4,7 @@ @@ -15,7 +15,9 @@