Skip to content

Commit

Permalink
Update build
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerS1066 committed Jul 4, 2024
1 parent f7441e5 commit 2cb4445
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,15 @@ version = "3.0.0_beta-2"
description = "APTurrets"

java.toolchain.languageVersion = JavaLanguageVersion.of(17)

tasks.jar {
archiveClassifier.set("")
archiveVersion.set("")
}

tasks.processResources {
from(rootProject.file("LICENSE.md"))
filesMatching("*.yml") {
expand(mapOf("projectVersion" to project.version))
}
}
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
main: com.snowleopard1863.APTurrets.TurretsMain
version: ${project.version}
version: ${projectVersion}
name: APTurrets
api-version: 1.18
authors: [TylerS1066, Snowleopard1863, cccm5, MrUniverse_]
Expand Down

0 comments on commit 2cb4445

Please sign in to comment.