Skip to content

Commit

Permalink
Create build.gradle.kts
Browse files Browse the repository at this point in the history
  • Loading branch information
Outfit8TSB authored Dec 31, 2024
1 parent c61b45e commit 2608a68
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions standalone/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
plugins {
java
id("com.github.johnrengelman.shadow") version "8.1.1"
}

repositories {
mavenCentral()
maven {
url = uri("https://repo.viaversion.com/everything/")

}
}

dependencies {
implementation(project(":common"))
}

java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(21)) // Minestom has a minimum Java version of 21
}
}

tasks {
jar {
manifest {
attributes["Main-Class"] = "me.falixsrv.approximasteranarchy2004.ViaVersionProtocolSupport" // Change this to your main class
}
}

build {
dependsOn("shadowJar")
}

}

0 comments on commit 2608a68

Please sign in to comment.