summaryrefslogtreecommitdiff
path: root/sw-ui/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'sw-ui/build.gradle')
-rw-r--r--sw-ui/build.gradle11
1 files changed, 11 insertions, 0 deletions
diff --git a/sw-ui/build.gradle b/sw-ui/build.gradle
index 61f01053..201cd6a1 100644
--- a/sw-ui/build.gradle
+++ b/sw-ui/build.gradle
@@ -4,6 +4,17 @@ plugins {
apply plugin: 'base'
+// Fix for "Could not find org.nodejs:node:10.15.3"
+// Gradle node plugin + Gradle metadata seems to need this fix
+// https://github.com/JetBrains/kotlin-native/issues/1612
+repositories.whenObjectAdded {
+ if (it instanceof IvyArtifactRepository) {
+ metadataSources {
+ artifact()
+ }
+ }
+}
+
buildDir = 'build'
node {
bgstack15