Skip to content

Instantly share code, notes, and snippets.

@ricardogarfe
Created March 8, 2019 06:16
Show Gist options
  • Save ricardogarfe/36c13a4ea5920270548fd06325f80e06 to your computer and use it in GitHub Desktop.
Save ricardogarfe/36c13a4ea5920270548fd06325f80e06 to your computer and use it in GitHub Desktop.
sonar-project.properties basic example
# must be unique in a given SonarQube instance
sonar.projectKey=my:project
# this is the name and version displayed in the SonarQube UI. Was mandatory prior to SonarQube 6.1.
sonar.projectName=My project
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=.
# Encoding of the source code. Default is default system encoding
#sonar.sourceEncoding=UTF-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment