diff options
Diffstat (limited to 'server/sonar-web/build.gradle')
-rw-r--r-- | server/sonar-web/build.gradle | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/server/sonar-web/build.gradle b/server/sonar-web/build.gradle index 48261edb792..02c93d6b167 100644 --- a/server/sonar-web/build.gradle +++ b/server/sonar-web/build.gradle @@ -11,24 +11,8 @@ sonar { } } -def webappDir = "${buildDir}/webapp" - compileJava.onlyIf {false} -task yarn_run(type: Exec) { - ['config', 'public', 'scripts', 'src'].each { - inputs.dir(it).withPathSensitivity(PathSensitivity.RELATIVE) - } - ['package.json', 'tsconfig.json', 'yarn.lock', 'tailwind.config.js', 'tailwind.base.config.js'].each { - inputs.file(it).withPathSensitivity(PathSensitivity.RELATIVE) - } - outputs.dir(webappDir) - outputs.cacheIf { true } - - commandLine osAdaptiveCommand(['npm', 'run', 'build-release']) -} -build.dependsOn(yarn_run) - task "yarn_lint-report-ci"(type: Exec) { // Note that outputs are not relocatable, because contain absolute paths, and that's why inputs are not relativized ['config', 'src/main/js'].each { |