aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-ui-common/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-ui-common/build.gradle')
-rw-r--r--server/sonar-ui-common/build.gradle65
1 files changed, 0 insertions, 65 deletions
diff --git a/server/sonar-ui-common/build.gradle b/server/sonar-ui-common/build.gradle
deleted file mode 100644
index ab94ef9534c..00000000000
--- a/server/sonar-ui-common/build.gradle
+++ /dev/null
@@ -1,65 +0,0 @@
-description = 'SonarSource :: Sonar UI Common'
-
-sonarqube {
- properties {
- property "sonar.sources", "components,helpers"
- property "sonar.exclusions", "**/__tests__/**"
- property "sonar.test", "components,helpers"
- property "sonar.test.inclusions", "**/__tests__/**"
- property "sonar.eslint.reportPaths", "eslint-report.json"
- property "sonar.coverage.exclusions", "components/icons/*,helpers/testUtils.ts,helpers/keycodes.ts"
- property "sonar.javascript.lcov.reportPaths", "build/coverage/lcov.info"
- property "sonar.eslint.reportPaths", "build/eslint-report.json"
- }
-}
-
-yarn_run {
- ['config', 'scripts', 'components', 'helpers'].each {
- inputs.dir(it).withPathSensitivity(PathSensitivity.RELATIVE)
- }
- ['package.json', 'tsconfig.json', 'yarn.lock'].each {
- inputs.file(it).withPathSensitivity(PathSensitivity.RELATIVE)
- }
- outputs.cacheIf { true }
- args = ['build']
- ignoreExitValue = false
-}
-
-"yarn_check-ci" {
- // Note that outputs are not relocatable, because contain absolute paths, and that's why inputs are not relativized
- ['config', 'scripts', 'components', 'helpers'].each {
- inputs.dir(it)
- }
- ['package.json', 'yarn.lock', 'tsconfig.json'].each {
- inputs.file(it)
- }
-
- dependsOn(yarn)
-}
-
-"yarn_validate-ci" {
- // Note that outputs are not relocatable, because contain absolute paths, and that's why inputs are not relativized
- ['config', 'scripts', 'components', 'helpers'].each {
- inputs.dir(it)
- }
- ['.eslintrc', 'package.json', 'yarn.lock', 'tsconfig.json'].each {
- inputs.file(it)
- }
- outputs.file("build/eslint-report.json")
- outputs.dir("build/coverage")
- outputs.cacheIf { true }
-
- dependsOn(yarn)
-}
-
-def sources = fileTree(dir: "components") + fileTree(dir: "config") + fileTree(dir: "helpers")
-
-task licenseCheckWeb(type: com.hierynomus.gradle.license.tasks.LicenseCheck) {
- source = sources
-}
-licenseMain.dependsOn licenseCheckWeb
-
-task licenseFormatWeb(type: com.hierynomus.gradle.license.tasks.LicenseFormat) {
- source = sources
-}
-licenseFormat.dependsOn licenseFormatWeb \ No newline at end of file