Skip to content

Commit

Permalink
build: 1.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
cssxsh committed Nov 12, 2021
1 parent b739f4f commit 4a23f3c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 12 deletions.
5 changes: 2 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group = "xyz.cssxsh"
version = "1.3.2"
version = "1.3.3"

mavenCentralPublish {
useCentralS01()
Expand Down Expand Up @@ -36,8 +36,7 @@ dependencies {
// implementation(ktor("client-serialization", Versions.ktor))
compileOnly(mirai("core", Versions.mirai))

testImplementation(junit("api", Versions.junit))
testRuntimeOnly(junit("engine", Versions.junit))
testImplementation(kotlin("test", Versions.kotlin))
}

tasks {
Expand Down
6 changes: 1 addition & 5 deletions buildSrc/src/main/kotlin/Dependency.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,4 @@ fun DependencyHandler.kotlinx(module: String, version: String) = "org.jetbrains.

fun DependencyHandler.ktor(module: String, version: String) = "io.ktor:ktor-$module:$version"

fun DependencyHandler.mirai(module: String, version: String) = "net.mamoe:mirai-$module:$version"

fun DependencyHandler.jsoup(version: String) = "org.jsoup:jsoup:$version"

fun DependencyHandler.junit(module: String, version: String) = "org.junit.jupiter:junit-jupiter-${module}:${version}"
fun DependencyHandler.mirai(module: String, version: String) = "net.mamoe:mirai-$module:$version"
4 changes: 1 addition & 3 deletions buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@

object Versions {
// mirai
const val mirai = "2.7.1"
const val mirai = "2.8.0"
// kotlin
const val kotlin = "1.5.31"
const val ktor = "1.5.4"
// other
const val junit = "5.2.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import xyz.cssxsh.arknights.*
import xyz.cssxsh.mirai.plugin.command.*

object ArknightsHelperPlugin : KotlinPlugin(
JvmPluginDescription("xyz.cssxsh.mirai.plugin.arknights-helper", "1.3.2") {
JvmPluginDescription("xyz.cssxsh.mirai.plugin.arknights-helper", "1.3.3") {
name("arknights-helper")
author("cssxsh")
}
Expand Down

0 comments on commit 4a23f3c

Please sign in to comment.