Skip to content

Commit

Permalink
Application Configuration for Gradle (#726)
Browse files Browse the repository at this point in the history
  • Loading branch information
Litorom authored Dec 9, 2024
2 parents 90bb104 + e940c13 commit 71ce075
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ plugins {

allprojects {
apply plugin: "java"
apply plugin: "application"

version = "2.3.0-dev1"

Expand Down Expand Up @@ -81,6 +82,11 @@ dependencies {
implementation project(":client")
}

// Running the root project actually just runs the client project
application {
mainClass = 'minicraft.core.Game'
}

// Build a runnable game distribution.
jar {
manifest {
Expand Down

0 comments on commit 71ce075

Please sign in to comment.