From d5e1fdbbd2cfefbc53c976795b7d3ad146360d98 Mon Sep 17 00:00:00 2001 From: randombyte-developer Date: Sun, 22 Jul 2018 22:27:31 +0200 Subject: [PATCH] v1.0.1: - Fixed fat jar - Fixed main class manifest attribute --- build.gradle | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 0e99706..2078651 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ plugins { } group "de.randombyte" -version "1.0.0" +version "1.0.1" repositories { jcenter() @@ -18,7 +18,7 @@ configurations { dependencies { shadow "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.2.51" - shadow("be.bluexin:drpc4k:0.6-SNAPSHOT") { transitive = false } + shadow("be.bluexin:drpc4k:0.6-SNAPSHOT") } shadowJar { @@ -31,6 +31,12 @@ shadowJar { } build.dependsOn shadowJar +jar { + manifest { + attributes "Main-Class": "de.randombyte.discordrpcmusic.MainKt" + } +} + compileKotlin { kotlinOptions { jvmTarget = "1.8"