aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/sonar-project.properties
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-11-22 10:33:29 -0500
committerJack Lloyd <[email protected]>2016-11-22 10:33:29 -0500
commit750eb24df417b401012595147dfc7a473b7af7e9 (patch)
treefb919b10bb5559f8cbc7b149c6df80a915db1a99 /src/build-data/sonar-project.properties
parentcabdc385164906febdfbbb88cdc8801d4b970ece (diff)
Move Sonar config to build-data
No actual reason for it to be in the root dir, only Sonar needs it, so just copy it to the root dir before starting.
Diffstat (limited to 'src/build-data/sonar-project.properties')
-rw-r--r--src/build-data/sonar-project.properties21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/build-data/sonar-project.properties b/src/build-data/sonar-project.properties
new file mode 100644
index 000000000..408210b81
--- /dev/null
+++ b/src/build-data/sonar-project.properties
@@ -0,0 +1,21 @@
+# must be unique in a given SonarQube instance
+sonar.projectKey=botan
+
+# this is the name displayed in the SonarQube UI
+sonar.projectName=Botan
+sonar.projectVersion=1.0
+# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
+# Since SonarQube 4.2, this property is optional if sonar.modules is set. 
+# If not set, SonarQube starts looking for source code from the directory containing 
+# the sonar-project.properties file.
+sonar.sources=src
+
+# Language, needed for SonarQube < 4.2
+sonar.language=cpp
+
+# The build-wrapper output dir
+sonar.cfamily.build-wrapper-output=bw-outputs
+
+# Encoding of the source code. Default is default system encoding
+sonar.sourceEncoding=UTF-8