aboutsummaryrefslogtreecommitdiff
path: root/dokka-fatjar/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'dokka-fatjar/build.gradle')
-rw-r--r--dokka-fatjar/build.gradle18
1 files changed, 10 insertions, 8 deletions
diff --git a/dokka-fatjar/build.gradle b/dokka-fatjar/build.gradle
index 85dc95f3..49b8efb9 100644
--- a/dokka-fatjar/build.gradle
+++ b/dokka-fatjar/build.gradle
@@ -58,14 +58,16 @@ jar {
exclude '**/*.md'
}
}
- from (zipTree(project.file('../out/dokka.jar'))) {
- exclude 'META-INF/MANIFEST.MF'
- exclude 'META-INF/*.SF'
- exclude 'META-INF/*.DSA'
- exclude 'META-INF/*.RSA'
- exclude '**/*.kt'
- exclude '**/*.java'
- exclude '**/*.md'
+ ['dokka.jar', 'dokka-ant.jar'].each {
+ from (zipTree(project.file("../out/$it"))) {
+ exclude 'META-INF/MANIFEST.MF'
+ exclude 'META-INF/*.SF'
+ exclude 'META-INF/*.DSA'
+ exclude 'META-INF/*.RSA'
+ exclude '**/*.kt'
+ exclude '**/*.java'
+ exclude '**/*.md'
+ }
}
}