]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3763 "sonar.language" available in UI Global settings
authorFabrice Bellingard <fabrice.bellingard@sonarsource.com>
Thu, 20 Sep 2012 16:20:45 +0000 (18:20 +0200)
committerFabrice Bellingard <fabrice.bellingard@sonarsource.com>
Thu, 20 Sep 2012 16:22:10 +0000 (18:22 +0200)
=> The "sonar.language" property should be available in the
   Configuration>Settings>Global tab to define the default
   project language

plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/CorePlugin.java

index 1f8b68e57557590362dc76c9a3d877c0d782f2dd..0642c5459bf85b6d1e38d1e6b22370851ec5c805 100644 (file)
@@ -122,6 +122,14 @@ import java.util.List;
     project = false,
     global = true,
     category = CoreProperties.CATEGORY_GENERAL),
+  @Property(
+    key = CoreProperties.PROJECT_LANGUAGE_PROPERTY,
+    defaultValue = Java.KEY,
+    name = "Default language",
+    description = "Default language of the source code to analyse.",
+    project = false,
+    global = true,
+    category = CoreProperties.CATEGORY_GENERAL),
   @Property(
     key = CoreProperties.CORE_COVERAGE_PLUGIN_PROPERTY,
     defaultValue = "jacoco",