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() {