Last active
January 4, 2019 04:50
-
-
Save spikeheap/7597847 to your computer and use it in GitHub Desktop.
# A sample sonar-runner.properties file to test Groovy and Javascript in a Grails project
# Note that the blank projectBaseDir properties are necessary otherwise Sonar infers
# the directory name from the module name, which doesn't apply here.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A sample sonar-runner.properties file to test Groovy and Javascript in a Grails project | |
# Note that the blank projectBaseDir properties are necessary otherwise Sonar infers | |
# the directory name from the module name, which doesn't apply here. | |
# | |
# Author: Ryan Brooks ([email protected]) | |
# required metadata | |
sonar.projectKey=com.example | |
sonar.projectName=My Project | |
sonar.projectVersion=0.1 | |
# optional description | |
sonar.projectDescription=A description of the ace thing I'm building | |
sonar.dynamicAnalysis=reuseReports | |
sonar.surefire.reportsPath=target/test-reports | |
sonar.cobertura.reportPath=target/test-reports/cobertura/coverage.xml | |
# List of the module identifiers, Add "java" here if you need it | |
sonar.modules=groovy,javascript | |
# Properties can obviously be overriden for | |
# each module - just prefix them with the module ID | |
groovy.sonar.projectName=Groovy | |
groovy.sonar.language=grvy | |
groovy.sonar.sources=src/groovy,grails-app | |
groovy.sonar.tests=test/unit,test/integration | |
groovy.sonar.projectBaseDir= | |
# We don't have any Java source in the project at the moment | |
#java.sonar.projectName=Java | |
#java.sonar.language=java | |
#java.sonar.sources=src/java | |
#java.sonar.tests=test/unit,test/integration | |
#java.sonar.projectBaseDir= | |
javascript.sonar.projectName=JavaScript | |
javascript.sonar.language=js | |
javascript.sonar.sources=web-app/js | |
javascript.sonar.exclusions=vendor/**/*.js,lib/** | |
javascript.sonar.tests=test/js | |
javascript.sonar.projectBaseDir= |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment