Skip to content

Commit

Permalink
Fixed issue with run again (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
mertunctuncer authored Jun 24, 2024
1 parent 8672136 commit 0b6e3ac
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,21 @@ tasks {
attributes["Main-Class"] = "me.koply.pikap.Main"
}
}
javaexec {
classpath = sourceSets.main.get().runtimeClasspath
mainClass = application.mainClass

named<JavaExec>("run") {
standardInput = System.`in`
jvmArgs(application.applicationDefaultJvmArgs)
}

shadowJar {
minimize {
exclude(dependency(libs.org.xerial.sqlite.jdbc.get()))
}
}

compileJava {
options.encoding = Charsets.UTF_8.name()
}

javadoc {
options.encoding = Charsets.UTF_8.name()
}
Expand Down

0 comments on commit 0b6e3ac

Please sign in to comment.