Skip to content

Commit

Permalink
register runFolia task
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla committed Apr 24, 2023
1 parent 6780115 commit 7fecc1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gradle/libs.versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
plugins:
net.kyori.blossom: 1.3.0
org.spongepowered.gradle.plugin: 2.1.1
xyz.jpenilla.run-paper: 2.0.1
xyz.jpenilla.run-velocity: 2.0.1
xyz.jpenilla.run-paper: &run-task 2.0.2-SNAPSHOT
xyz.jpenilla.run-velocity: *run-task
io.papermc.hangar-publish-plugin: 0.0.5

versions:
Expand Down
3 changes: 2 additions & 1 deletion paper/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,11 @@ tasks {
}
runServer {
minecraftVersion("1.19.4")
this.serverJar(workingDir.resolve("run/folia-1.19.4-22.jar"))
}
}

runPaper.folia.registerTask()

paper {
name = rootProject.name
version = project.version as String
Expand Down

0 comments on commit 7fecc1d

Please sign in to comment.