From bff95973608a02c1ddf307758b9064f03fdeb7c5 Mon Sep 17 00:00:00 2001 From: Jan Peter Stotz Date: Tue, 12 May 2015 10:52:43 +0200 Subject: [PATCH] Add Main-Class and Class-Path attributes to MANIFEST.MF of jadx-gui jar file. --- jadx-gui/build.gradle | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/jadx-gui/build.gradle b/jadx-gui/build.gradle index 2a3074e71..3b40b4c0d 100644 --- a/jadx-gui/build.gradle +++ b/jadx-gui/build.gradle @@ -19,6 +19,15 @@ applicationDistribution.with { } } +jar { + manifest { + attributes( + "Main-Class": mainClassName, + "Class-Path": configurations.compile.collect { it.getName() }.join(' ') + ) + } +} + test { jacoco { // coveralls plugin not support multi-project