Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Fix build config for or-icon

Rich Turner9386c79ecaea
diff --git a/project.gradle b/project.gradle
index a1fb9fadf..8e3e8c1a3 100644
--- a/project.gradle
+++ b/project.gradle
@@ -168,6 +168,7 @@ ext {
resolveProject = this.&resolveProject
resolveTask = this.&resolveTask
isCustomProject = this.&isCustomProject
+ getYarnInstallTask = this.&getYarnInstallTask
}
if (project.convention.findPlugin(JavaPluginConvention)) {
diff --git a/ui/component/or-icon/build.gradle b/ui/component/or-icon/build.gradle
index 3a1ee7e62..f7a3b6099 100644
--- a/ui/component/or-icon/build.gradle
+++ b/ui/component/or-icon/build.gradle
@@ -19,7 +19,7 @@ task publishUi() {
}
task installDist(type: Copy) {
- dependsOn copyMdiFont
+ dependsOn getYarnInstallTask(), copyMdiFont
resolveTask(":manager:installDist").dependsOn it
from "${buildDir}/Material Design Icons"
into "${resolveProject(':manager').projectDir}/src/web/shared/fonts/Material Design Icons"