Skip to content

Commit

Permalink
chore: Update template to fit API 11-snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
gabizou committed May 18, 2024
1 parent d3645e4 commit 362d19d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repositories {
}

sponge {
apiVersion("10.0.0-SNAPSHOT")
apiVersion("11.0.0-SNAPSHOT")
license("CHANGEME")
loader {
name(PluginLoaders.JAVA_PLAIN)
Expand All @@ -42,7 +42,7 @@ sponge {
}
}

val javaTarget = 17
val javaTarget = 21
java {
sourceCompatibility = JavaVersion.toVersion(javaTarget)
targetCompatibility = JavaVersion.toVersion(javaTarget)
Expand Down
11 changes: 11 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[metadata]
format = { version = "1.1" }

[versions]
spongeAPI = "11.0.0-SNAPSHOT"

# If you chose to use this as a dependency management rather than
# using SpongeGradle's plugin for plugin developers, you can refer to the api as
# implementation(libs.sponge.api) in a dependencies block
[libraries]
sponge-api = {module = "org.spongepowered:spongeapi", version.ref = "spongeAPI" }

0 comments on commit 362d19d

Please sign in to comment.