From 8c143bb4d43712ae9a05b96e8ecd588aa76ee6e4 Mon Sep 17 00:00:00 2001 From: jie65535 Date: Sun, 29 Jan 2023 01:49:25 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC=E5=88=B0?= =?UTF-8?q?=20`0.1.2`=20=E6=9B=B4=E6=96=B0=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 13 ++++++++++--- gradlew | 0 src/main/kotlin/JMinecraftSkin.kt | 4 ++-- 3 files changed, 12 insertions(+), 5 deletions(-) mode change 100644 => 100755 gradlew diff --git a/build.gradle.kts b/build.gradle.kts index a8ff529..5e60fc2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,15 +1,22 @@ plugins { - val kotlinVersion = "1.5.30" + val kotlinVersion = "1.7.10" kotlin("jvm") version kotlinVersion kotlin("plugin.serialization") version kotlinVersion - id("net.mamoe.mirai-console") version "2.10.0" + id("net.mamoe.mirai-console") version "2.13.2" } group = "top.jie65535" -version = "0.1.1" +version = "0.1.2" repositories { maven("https://maven.aliyun.com/repository/public") mavenCentral() } + +val ktorVersion = "2.2.2" + +dependencies { + implementation("io.ktor:ktor-client-core-jvm:$ktorVersion") + implementation("io.ktor:ktor-client-okhttp:$ktorVersion") +} \ No newline at end of file diff --git a/gradlew b/gradlew old mode 100644 new mode 100755 diff --git a/src/main/kotlin/JMinecraftSkin.kt b/src/main/kotlin/JMinecraftSkin.kt index 5be7246..5da5096 100644 --- a/src/main/kotlin/JMinecraftSkin.kt +++ b/src/main/kotlin/JMinecraftSkin.kt @@ -9,7 +9,7 @@ object JMinecraftSkin : KotlinPlugin( JvmPluginDescription( id = "top.jie65535.mirai-console-jms-plugin", name = "J Minecraft Skin", - version = "0.1.1", + version = "0.1.2", ) { author("jie65535") info("MC皮肤查询插件") @@ -19,7 +19,7 @@ object JMinecraftSkin : KotlinPlugin( override fun onEnable() { JMSPluginData.reload() JMSCommand.register() - logger.info { "Plugin loaded" } + logger.info { "Plugin loaded. https://github.com/jie65535/mirai-console-jcf-plugin" } } override fun onDisable() {