diff --git a/build.gradle.kts b/build.gradle.kts index d77589c..0fa7147 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,13 +1,13 @@ plugins { - kotlin("jvm") version "1.6.0" - kotlin("plugin.serialization") version "1.6.0" + kotlin("jvm") version "1.6.21" + kotlin("plugin.serialization") version "1.6.21" - id("net.mamoe.mirai-console") version "2.10.0-RC2" - id("net.mamoe.maven-central-publish") version "0.7.0" + id("net.mamoe.mirai-console") version "2.11.0" + id("net.mamoe.maven-central-publish") version "0.7.1" } group = "xyz.cssxsh.mirai" -version = "1.0.2" +version = "1.1.0" mavenCentralPublish { useCentralS01() @@ -15,31 +15,25 @@ mavenCentralPublish { licenseFromGitHubProject("AGPL-3.0", "master") publication { artifact(tasks.getByName("buildPlugin")) + artifact(tasks.getByName("buildPluginLegacy")) } } repositories { mavenLocal() - maven("https://maven.aliyun.com/repository/central") mavenCentral() } dependencies { - compileOnly("net.mamoe:mirai-core-utils:2.10.0-RC2") + compileOnly("net.mamoe:mirai-core-utils:2.11.0") - testImplementation(kotlin("test", "1.6.0")) + testImplementation(kotlin("test", "1.6.21")) } kotlin { explicitApi() } -mirai { - configureShadow { - exclude("module-info.class") - } -} - tasks { test { useJUnitPlatform() diff --git a/src/main/kotlin/xyz/cssxsh/mirai/device/MiraiDevicePlugin.kt b/src/main/kotlin/xyz/cssxsh/mirai/device/MiraiDevicePlugin.kt index 729fb8a..86247a3 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.0.2", + version = "1.1.0", ) { author("cssxsh") }