Skip to content

Commit

Permalink
build: 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cssxsh committed May 22, 2022
1 parent f6760ea commit 7a2b159
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 15 deletions.
22 changes: 8 additions & 14 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,45 +1,39 @@
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()
singleDevGithubProject("cssxsh", "mirai-device-generator")
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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit 7a2b159

Please sign in to comment.