Skip to content

Commit

Permalink
Edit build.gradle to solve LinkageError in JAR file
Browse files Browse the repository at this point in the history
  • Loading branch information
ValenciaLim committed Feb 26, 2024
1 parent d879a4b commit 3291a40
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ plugins {
id 'com.github.johnrengelman.shadow' version '7.1.2'
}

sourceCompatibility = 11
targetCompatibility = 11

repositories {
mavenCentral()
}
Expand Down Expand Up @@ -49,7 +52,7 @@ test {
}

application {
mainClass.set("cal.Main")
mainClass.set("Launcher")
}

shadowJar {
Expand Down

0 comments on commit 3291a40

Please sign in to comment.