From 23a56872ffc522c03621de99adad71fa6e98ce5a Mon Sep 17 00:00:00 2001 From: cssxsh Date: Fri, 23 Sep 2022 03:59:49 +0800 Subject: [PATCH] build: 1.1.2 --- build.gradle.kts | 10 +++++----- .../xyz/cssxsh/mirai/device/MiraiDevicePlugin.kt | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 3ff307b..7105fdd 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -2,21 +2,21 @@ plugins { kotlin("jvm") version "1.7.10" kotlin("plugin.serialization") version "1.7.10" - id("net.mamoe.mirai-console") version "2.12.1" + id("net.mamoe.mirai-console") version "2.12.3" id("me.him188.maven-central-publish") version "1.0.0-dev-3" } group = "xyz.cssxsh.mirai" -version = "1.1.1" +version = "1.1.2" mavenCentralPublish { useCentralS01() singleDevGithubProject("cssxsh", "mirai-device-generator") licenseFromGitHubProject("AGPL-3.0") workingDir = System.getenv("PUBLICATION_TEMP")?.let { file(it).resolve(projectName) } - ?: project.buildDir.resolve("publishing-tmp") + ?: buildDir.resolve("publishing-tmp") publication { - artifact(tasks.getByName("buildPlugin")) + artifact(tasks["buildPlugin"]) } } @@ -26,7 +26,7 @@ repositories { } dependencies { - compileOnly("net.mamoe:mirai-core-utils:2.12.1") + compileOnly("net.mamoe:mirai-core-utils:2.12.3") testImplementation(kotlin("test")) } diff --git a/src/main/kotlin/xyz/cssxsh/mirai/device/MiraiDevicePlugin.kt b/src/main/kotlin/xyz/cssxsh/mirai/device/MiraiDevicePlugin.kt index 7d6d3d8..40c43e1 100644 --- a/src/main/kotlin/xyz/cssxsh/mirai/device/MiraiDevicePlugin.kt +++ b/src/main/kotlin/xyz/cssxsh/mirai/device/MiraiDevicePlugin.kt @@ -9,7 +9,7 @@ public object MiraiDevicePlugin : KotlinPlugin( JvmPluginDescription( id = "xyz.cssxsh.mirai.mirai-device-generator", name = "mirai-device-generator", - version = "1.1.1", + version = "1.1.2", ) { author("cssxsh") }