diff --git a/README.md b/README.md index 53eb81a..2b14a69 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ ![ClaimChunk Logo](imgs/icon64.png) ![ClaimChunk Title](imgs/logo_carrier.png) -[![Version Info](https://img.shields.io/static/v1?label=Version&message=0.0.23-RC8&color=blueviolet&style=for-the-badge)](https://github.com/cjburkey01/ClaimChunk/releases) -[![Download Info](https://img.shields.io/static/v1?label=Spigot&message=1.20.6&color=blueviolet&style=for-the-badge)](https://www.spigotmc.org/resources/claimchunk.44458/) +[![Plugin Version](https://img.shields.io/static/v1?label=Version&message=0.0.24&color=blueviolet&style=for-the-badge)](https://github.com/cjburkey01/ClaimChunk/releases) +[![Minecraft Version](https://img.shields.io/static/v1?label=Spigot&message=1.20.6&color=blueviolet&style=for-the-badge)](https://www.spigotmc.org/resources/claimchunk.44458/) +![Java Version](https://img.shields.io/static/v1?label=Java&message=17&color=blueviolet&style=for-the-badge) [![Servers Using Claimchunk](https://img.shields.io/bstats/servers/5179?label=Servers&color=cornflowerblue&style=for-the-badge)](https://bstats.org/plugin/bukkit/ClaimChunk) [![Players Using Claimchunk](https://img.shields.io/bstats/players/5179?label=Players&color=cornflowerblue&style=for-the-badge)](https://bstats.org/plugin/bukkit/ClaimChunk) @@ -75,7 +76,7 @@ Here are some plugins that either have addons for or integrations with ClaimChun Building -------- [![Automatic Build](https://img.shields.io/github/actions/workflow/status/cjburkey01/ClaimChunk/gradle.yml?branch=main&style=for-the-badge)](https://claimchunk.cjburkey.com/server/Downloads.html#snapshot-downloads) -[![Version Info](https://img.shields.io/static/v1?label=Repository%20Version&message=0.0.24-RC1&color=ff5555&style=for-the-badge)](https://github.com/cjburkey01/ClaimChunk/archive/main.zip) +[![Version Info](https://img.shields.io/static/v1?label=Repository%20Version&message=0.0.24&color=ff5555&style=for-the-badge)](https://github.com/cjburkey01/ClaimChunk/archive/main.zip) If you want to obtain a version of the plugin that isn't available yet (like a snapshot), you can do so by asking on the Discord or building it yourself. Here's how to build it yourself: diff --git a/build.gradle.kts b/build.gradle.kts index dbbc341..c6eb74c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -14,8 +14,10 @@ plugins { } object DepData { - const val LIVE_VERSION = "0.0.23-RC8"; - const val THIS_VERSION = "0.0.24-RC1"; + const val JAVA_VERSION = 17; + + const val LIVE_VERSION = "0.0.24"; + const val THIS_VERSION = "0.0.24"; const val PLUGIN_NAME = "ClaimChunk"; const val ARCHIVES_BASE_NAME = "claimchunk"; const val MAIN_CLASS = "com.cjburkey.claimchunk.ClaimChunk"; @@ -54,6 +56,7 @@ object DepData { val replaceTokens = mapOf( "tokens" to mapOf( "PLUGIN_VERSION" to DepData.THIS_VERSION, + "JAVA_VERSION" to DepData.JAVA_VERSION.toString(), "MAIN_CLASS" to DepData.MAIN_CLASS, "PLUGIN_NAME" to DepData.PLUGIN_NAME, "LIVE_VERSION" to DepData.LIVE_VERSION, @@ -70,7 +73,7 @@ val mainDir = layout.projectDirectory; java { toolchain { - languageVersion = JavaLanguageVersion.of(17); + languageVersion = JavaLanguageVersion.of(DepData.JAVA_VERSION); } } diff --git a/unbuilt_readme.md b/unbuilt_readme.md index ad230ff..1447023 100644 --- a/unbuilt_readme.md +++ b/unbuilt_readme.md @@ -1,8 +1,9 @@ ![ClaimChunk Logo](imgs/icon64.png) ![ClaimChunk Title](imgs/logo_carrier.png) -[![Version Info](https://img.shields.io/static/v1?label=Version&message=@LIVE_VERSION@&color=blueviolet&style=for-the-badge)](https://github.com/cjburkey01/ClaimChunk/releases) -[![Download Info](https://img.shields.io/static/v1?label=Spigot&message=@LATEST_MC_VERSION@&color=blueviolet&style=for-the-badge)](https://www.spigotmc.org/resources/claimchunk.44458/) +[![Plugin Version](https://img.shields.io/static/v1?label=Version&message=@LIVE_VERSION@&color=blueviolet&style=for-the-badge)](https://github.com/cjburkey01/ClaimChunk/releases) +[![Minecraft Version](https://img.shields.io/static/v1?label=Spigot&message=@LATEST_MC_VERSION@&color=blueviolet&style=for-the-badge)](https://www.spigotmc.org/resources/claimchunk.44458/) +![Java Version](https://img.shields.io/static/v1?label=Java&message=@JAVA_VERSION@&color=blueviolet&style=for-the-badge) [![Servers Using Claimchunk](https://img.shields.io/bstats/servers/5179?label=Servers&color=cornflowerblue&style=for-the-badge)](https://bstats.org/plugin/bukkit/ClaimChunk) [![Players Using Claimchunk](https://img.shields.io/bstats/players/5179?label=Players&color=cornflowerblue&style=for-the-badge)](https://bstats.org/plugin/bukkit/ClaimChunk)