Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--releng/org.eclipse.etrice.releng/build.gradle10
-rw-r--r--releng/org.eclipse.etrice.site/build.gradle2
2 files changed, 9 insertions, 3 deletions
diff --git a/releng/org.eclipse.etrice.releng/build.gradle b/releng/org.eclipse.etrice.releng/build.gradle
index d423e0cca..c3ad58b49 100644
--- a/releng/org.eclipse.etrice.releng/build.gradle
+++ b/releng/org.eclipse.etrice.releng/build.gradle
@@ -41,8 +41,14 @@ task assembleArtifacts(type: Sync) {
from([configurations.archives, configurations.updates]) {
into 'archives'
}
- from(zipTree(configurations.updates.singleFile)) {
- into 'updates'
+ if(!configurations.updates.empty) {
+ from(zipTree(configurations.updates.singleFile)) {
+ into 'updates'
+ }
+ } else {
+ doFirst {
+ throw new GradleException("etrice update site is missing - execute tycho/maven 'package' first")
+ }
}
into assembleDir
}
diff --git a/releng/org.eclipse.etrice.site/build.gradle b/releng/org.eclipse.etrice.site/build.gradle
index cbec1e254..991070c1c 100644
--- a/releng/org.eclipse.etrice.site/build.gradle
+++ b/releng/org.eclipse.etrice.site/build.gradle
@@ -3,6 +3,6 @@ configurations {
}
artifacts {
- archive fileTree(dir: 'target', include: 'org.eclipse.etrice.site-*.zip').singleFile
+ archive fileTree(dir: 'target', include: 'org.eclipse.etrice.site-*.zip').files
}

Back to the top