Skip to content

Commit

Permalink
build: 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cssxsh committed May 9, 2023
1 parent 927fe5d commit 4f53312
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
14 changes: 8 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
plugins {
kotlin("jvm") version "1.7.10"
kotlin("plugin.serialization") version "1.7.10"
kotlin("jvm") version "1.7.22"
kotlin("plugin.serialization") version "1.7.22"

id("net.mamoe.mirai-console") version "2.12.3"
id("net.mamoe.mirai-console") version "2.15.0-M1"
id("me.him188.maven-central-publish") version "1.0.0-dev-3"
}

group = "xyz.cssxsh.mirai"
version = "1.1.3"
version = "1.2.0"

mavenCentralPublish {
useCentralS01()
Expand All @@ -26,9 +26,11 @@ repositories {
}

dependencies {
compileOnly("net.mamoe:mirai-core-utils:2.12.3")

testImplementation(kotlin("test"))
//
implementation(platform("net.mamoe:mirai-bom:2.15.0-M1"))
compileOnly("net.mamoe:mirai-core-utils")
compileOnly("net.mamoe:mirai-console-compiler-common")
}

kotlin {
Expand Down
5 changes: 3 additions & 2 deletions src/main/kotlin/xyz/cssxsh/mirai/device/MiraiDevicePlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ import net.mamoe.mirai.console.extension.*
import net.mamoe.mirai.console.plugin.jvm.*
import net.mamoe.mirai.event.*

public object MiraiDevicePlugin : KotlinPlugin(
@PublishedApi
internal object MiraiDevicePlugin : KotlinPlugin(
JvmPluginDescription(
id = "xyz.cssxsh.mirai.mirai-device-generator",
name = "mirai-device-generator",
version = "1.1.3",
version = "1.2.0",
) {
author("cssxsh")
}
Expand Down

0 comments on commit 4f53312

Please sign in to comment.