diff options
author | 2022-02-04 20:18:20 +0100 | |
---|---|---|
committer | 2022-02-04 20:18:20 +0100 | |
commit | 42db1e8b4dcff3667c5f14e8dd464309c3c2f23e (patch) | |
tree | f5f5efe86fb352980cf144cceb68d1a1101b274f /buildSrc/src/main/groovy/refinery-frontend-workspace.gradle | |
parent | chore(web): fix Sonar issue (diff) | |
parent | chore(frontend): bump frontend dependencies (diff) | |
download | refinery-42db1e8b4dcff3667c5f14e8dd464309c3c2f23e.tar.gz refinery-42db1e8b4dcff3667c5f14e8dd464309c3c2f23e.tar.zst refinery-42db1e8b4dcff3667c5f14e8dd464309c3c2f23e.zip |
Merge pull request #18 from kris7t/releng-docs
Restructure project
Diffstat (limited to 'buildSrc/src/main/groovy/refinery-frontend-workspace.gradle')
-rw-r--r-- | buildSrc/src/main/groovy/refinery-frontend-workspace.gradle | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/buildSrc/src/main/groovy/refinery-frontend-workspace.gradle b/buildSrc/src/main/groovy/refinery-frontend-workspace.gradle new file mode 100644 index 00000000..35410db4 --- /dev/null +++ b/buildSrc/src/main/groovy/refinery-frontend-workspace.gradle | |||
@@ -0,0 +1,28 @@ | |||
1 | plugins { | ||
2 | id 'refinery-frontend-conventions' | ||
3 | } | ||
4 | |||
5 | tasks.named('installNode') { | ||
6 | dependsOn rootProject.tasks.named('installNode') | ||
7 | enabled = false | ||
8 | } | ||
9 | |||
10 | tasks.named('installYarnGlobally') { | ||
11 | dependsOn rootProject.tasks.named('installYarnGlobally') | ||
12 | enabled = false | ||
13 | } | ||
14 | |||
15 | tasks.named('installYarn') { | ||
16 | dependsOn rootProject.tasks.named('installYarn') | ||
17 | enabled = false | ||
18 | } | ||
19 | |||
20 | def rootInstallFrontend = rootProject.tasks.named('installFrontend') | ||
21 | rootInstallFrontend.configure { | ||
22 | inputs.file "${projectDir}/package.json" | ||
23 | } | ||
24 | |||
25 | tasks.named('installFrontend') { | ||
26 | dependsOn rootInstallFrontend | ||
27 | enabled = false | ||
28 | } | ||