Skip to content

Commit

Permalink
v1.0.1:
Browse files Browse the repository at this point in the history
- Fixed fat jar
- Fixed main class manifest attribute
  • Loading branch information
randombyte-developer committed Jul 22, 2018
1 parent a178e70 commit d5e1fdb
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group "de.randombyte"
version "1.0.0"
version "1.0.1"

repositories {
jcenter()
Expand All @@ -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 {
Expand All @@ -31,6 +31,12 @@ shadowJar {
}
build.dependsOn shadowJar

jar {
manifest {
attributes "Main-Class": "de.randombyte.discordrpcmusic.MainKt"
}
}

compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
Expand Down

0 comments on commit d5e1fdb

Please sign in to comment.