You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.gradle 746B

12345678910111213141516171819202122232425262728293031323334
  1. sonarqube {
  2. properties {
  3. property "sonar.projectName", "${projectTitle} :: Bitbucket Cloud"
  4. property "sonar.sources", "src/main/ts"
  5. property "sonar.tests", "src/main/ts"
  6. property "sonar.test.inclusions", "src/main/ts/**/__tests__/**"
  7. property "sonar.exclusions", "src/main/ts/**/__tests__/**"
  8. }
  9. }
  10. apply plugin: 'com.moowork.node'
  11. node {
  12. version = '8.10.0'
  13. yarnVersion = '1.5.1'
  14. download = true
  15. }
  16. yarn_run {
  17. inputs.dir('config')
  18. inputs.dir('public')
  19. inputs.dir('scripts')
  20. inputs.dir('src')
  21. inputs.file('.babelrc')
  22. inputs.file('package.json')
  23. inputs.file('tsconfig.json')
  24. inputs.file('yarn.lock')
  25. outputs.dir('build/webapp')
  26. args = ['build']
  27. }
  28. yarn_run.dependsOn ':server:sonar-web:yarn_run'