Skip to content

Commit

Permalink
Fix bugs in build file related to mainClassName
Browse files Browse the repository at this point in the history
  • Loading branch information
yastsc committed Sep 27, 2024
1 parent 65079a1 commit b3187f2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ repositories {
}

dependencies {
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.10.0'
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.10.0'
// testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.10.0'
// testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.10.0'
String javaFxVersion = '17.0.7'

implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'win'
Expand Down Expand Up @@ -53,11 +53,13 @@ application {

shadowJar {
archiveFileName = 'star.jar'
mainClassName = 'star.main.Launcher'
archiveClassifier = null
}

run {
standardInput = System.in
enableAssertions = true
}

mainClassName = 'star.main.Main'
//mainClassName = 'star.main.Main'

0 comments on commit b3187f2

Please sign in to comment.