From 99734633c03a66a3a5074733dd17ab126b28609c Mon Sep 17 00:00:00 2001 From: phinner <62483793+phinner@users.noreply.github.com> Date: Mon, 8 Jan 2024 18:06:37 +0100 Subject: [PATCH] chore: Bump kotlin too + improve README --- README.md | 20 +++++++++++--------- build.gradle.kts | 6 +++--- plugin.json | 2 +- 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index aa62cbd..73b6cb5 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,11 @@ # nohorny -[![Xpdustry latest](https://maven.xpdustry.com/api/badge/latest/releases/com/xpdustry/nohorny?color=00FFFF&name=nohorny&prefix=v)](https://github.com/xpdustry/nohorny/releases) -[![Build status](https://github.com/xpdustry/nohorny/actions/workflows/build.yml/badge.svg?branch=master&event=push)](https://github.com/xpdustry/nohorny/actions/workflows/build.yml) -[![Mindustry 7.0 ](https://img.shields.io/badge/Mindustry-7.0-ffd37f)](https://github.com/Anuken/Mindustry/releases) -[![Discord](https://img.shields.io/discord/519293558599974912?color=00b0b3&label=Discord)](https://discord.xpdustry.com) +[![Maven](https://maven.xpdustry.com/api/badge/latest/releases/com/xpdustry/nohorny?color=008080&name=nohorny&prefix=v)](https://maven.xpdustry.com/#/releases/com/xpdustry/nohorny) +[![Downloads](https://img.shields.io/github/downloads/xpdustry/nohorny/total?color=008080)](https://github.com/xpdustry/nohorny/releases) +[![Mindustry 7.0](https://img.shields.io/badge/Mindustry-7.0-008080)](https://github.com/Anuken/Mindustry/releases) +[![Discord](https://img.shields.io/discord/519293558599974912?color=008080&label=Discord)](https://discord.xpdustry.com) + + ## Description @@ -92,15 +94,15 @@ see [NoHornyAutoBan](src/main/kotlin/com/xpdustry/nohorny/NoHornyAutoBan.kt) for ## Installation -This plugin requires : +This plugin requires at least : -- Java 17 or above +- Java 17 -- Mindustry v146 or above +- Mindustry v146 -- [KotlinRuntime](https://github.com/xpdustry/kotlin-runtime) v3.1.0-k.1.9.10 +- [KotlinRuntime](https://github.com/xpdustry/kotlin-runtime) v3.1.1-k.1.9.22 -- [Distributor](https://github.com/xpdustry/distributor) v3.2.1 +- [Distributor](https://github.com/xpdustry/distributor) v3.3.0 ## Building diff --git a/build.gradle.kts b/build.gradle.kts index dd1ed44..8cac551 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -6,7 +6,7 @@ import fr.xpdustry.toxopid.task.GithubArtifactDownload import org.jetbrains.kotlin.gradle.dsl.ExplicitApiMode plugins { - kotlin("jvm") version "1.9.10" + kotlin("jvm") version "1.9.22" id("com.diffplug.spotless") version "6.23.3" id("net.kyori.indra") version "3.1.3" id("net.kyori.indra.publishing") version "3.1.3" @@ -76,7 +76,7 @@ configurations.runtimeClasspath { kotlin { jvmToolchain(17) - coreLibrariesVersion = "1.9.10" + coreLibrariesVersion = "1.9.22" explicitApi = ExplicitApiMode.Strict target { compilations.configureEach { @@ -201,7 +201,7 @@ val downloadKotlinRuntime = user.set("xpdustry") repo.set("kotlin-runtime") name.set("kotlin-runtime.jar") - version.set("v3.1.0-k.1.9.10") + version.set("v3.1.1-k.1.9.22") } tasks.runMindustryServer { diff --git a/plugin.json b/plugin.json index ff9c47e..2f953da 100644 --- a/plugin.json +++ b/plugin.json @@ -2,7 +2,7 @@ "name": "nohorny", "displayName": "NoHornyPlugin", "description": "NO HORNY IN MY SERVER!", - "version": "2.0.1", + "version": "2.1.0", "author": "Xpdustry", "repo": "xpdustry/nohorny", "main": "com.xpdustry.nohorny.NoHornyPlugin",