diff --git a/build.gradle.kts b/build.gradle.kts index 4851071..ac35088 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -17,7 +17,7 @@ repositories { } sponge { - apiVersion("10.0.0-SNAPSHOT") + apiVersion("11.0.0-SNAPSHOT") license("CHANGEME") loader { name(PluginLoaders.JAVA_PLAIN) @@ -42,7 +42,7 @@ sponge { } } -val javaTarget = 17 +val javaTarget = 21 java { sourceCompatibility = JavaVersion.toVersion(javaTarget) targetCompatibility = JavaVersion.toVersion(javaTarget) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml new file mode 100644 index 0000000..a7a1cb4 --- /dev/null +++ b/gradle/libs.versions.toml @@ -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" } \ No newline at end of file