Skip to content

Commit

Permalink
update depedns and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
YouHaveTrouble committed Oct 5, 2024
1 parent 5c5ca95 commit cbb4c63
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import java.net.URL
import java.net.URI
import java.nio.file.Files

val serverDir: File = projectDir.resolve("run")
val pluginDir: File = serverDir.resolve("plugins")

plugins {
`java-library`
id("io.github.goooler.shadow") version "8.1.7"
id("io.github.goooler.shadow") version "8.1.8"
}

repositories {
Expand Down Expand Up @@ -42,7 +42,7 @@ dependencies {
}

group = "org.purpurmc.purpurextras"
version = "1.34.1"
version = "1.34.2"
description = "\"This should be a plugin\" features from Purpur"
java.sourceCompatibility = JavaVersion.VERSION_21
java.targetCompatibility = JavaVersion.VERSION_21
Expand Down Expand Up @@ -86,7 +86,7 @@ tasks {
doFirst {
serverDir.mkdirs()
pluginDir.mkdirs()
URL("https://api.purpurmc.org/v2/purpur/1.21/latest/download").openStream().use {
URI("https://api.purpurmc.org/v2/purpur/1.21.1/latest/download").toURL().openStream().use {
Files.copy(it, serverDir.resolve("server.jar").toPath())
}
}
Expand Down

0 comments on commit cbb4c63

Please sign in to comment.