aboutsummaryrefslogtreecommitdiff
path: root/runners/fatjar
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2016-11-02 14:17:13 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2016-11-02 16:18:42 +0300
commitd1eee305ef865eee8848989363db3f0fed63e11a (patch)
tree5ed8174a1126136de2a1aeb5c3e044f9f02d84ea /runners/fatjar
parent0c33c3c53517a33521ba1176a929867f2f60ebec (diff)
downloaddokka-d1eee305ef865eee8848989363db3f0fed63e11a.tar.gz
dokka-d1eee305ef865eee8848989363db3f0fed63e11a.tar.bz2
dokka-d1eee305ef865eee8848989363db3f0fed63e11a.zip
Build refactoring: Now dokka-fatjar runnable through `java -jar` again
Diffstat (limited to 'runners/fatjar')
-rw-r--r--runners/fatjar/build.gradle6
1 files changed, 6 insertions, 0 deletions
diff --git a/runners/fatjar/build.gradle b/runners/fatjar/build.gradle
index df20c9b9..d888a1ac 100644
--- a/runners/fatjar/build.gradle
+++ b/runners/fatjar/build.gradle
@@ -8,6 +8,12 @@ dependencies {
compile project(":runners:ant")
}
+jar {
+ manifest {
+ attributes 'Main-Class': 'org.jetbrains.dokka.MainKt'
+ }
+}
+
shadowJar {
baseName = 'dokka-fatjar'
classifier = ''