Skip to content

Commit

Permalink
build: 1.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
cssxsh committed Nov 23, 2021
1 parent fc3c142 commit ae8a54b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion 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.3"
version = "1.3.4"

mavenCentralPublish {
useCentralS01()
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

object Versions {
// mirai
const val mirai = "2.8.0"
const val mirai = "2.9.0-M1"
// kotlin
const val kotlin = "1.5.31"
const val ktor = "1.5.4"
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion src/main/kotlin/xyz/cssxsh/arknights/Utils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ suspend fun <T : GameDataType> Iterable<T>.load(dir: File, flush: Boolean): List
if (flush || file.exists().not()) {
file.parentFile.mkdirs()
file.writeBytes(client.get<ByteArray>(type.url).also { bytes ->
check(type.readable(bytes)) { "$type 下载内容不可读" }
check(type.readable(bytes)) { "$type 下载内容不可读 ${bytes.decodeToString()}" }
})
delay(type.duration)
}
Expand Down
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.3") {
JvmPluginDescription("xyz.cssxsh.mirai.plugin.arknights-helper", "1.3.4") {
name("arknights-helper")
author("cssxsh")
}
Expand Down

0 comments on commit ae8a54b

Please sign in to comment.