mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-26 16:10:11 +08:00
Update dependencies
This commit is contained in:
parent
0acc99ed42
commit
7b399bf8e9
@ -66,7 +66,7 @@ dependencies {
|
|||||||
implementation(kotlinx("serialization-core", Versions.serialization))
|
implementation(kotlinx("serialization-core", Versions.serialization))
|
||||||
implementation(kotlin("reflect"))
|
implementation(kotlin("reflect"))
|
||||||
|
|
||||||
implementation("net.mamoe.yamlkt:yamlkt:0.5.0")
|
implementation("net.mamoe.yamlkt:yamlkt:${Versions.yamlkt}")
|
||||||
implementation("org.jetbrains.kotlinx:atomicfu:${Versions.atomicFU}")
|
implementation("org.jetbrains.kotlinx:atomicfu:${Versions.atomicFU}")
|
||||||
api("org.jetbrains:annotations:19.0.0")
|
api("org.jetbrains:annotations:19.0.0")
|
||||||
api(kotlinx("coroutines-jdk8", Versions.coroutines))
|
api(kotlinx("coroutines-jdk8", Versions.coroutines))
|
||||||
|
@ -93,7 +93,7 @@ internal abstract class PluginDataImpl {
|
|||||||
|
|
||||||
// val vSerializer = dataUpdaterSerializerTypeArguments[1] as KSerializer<Any?>
|
// val vSerializer = dataUpdaterSerializerTypeArguments[1] as KSerializer<Any?>
|
||||||
valueNodes.forEach { (valueName, _, valueSerializer) ->
|
valueNodes.forEach { (valueName, _, valueSerializer) ->
|
||||||
encodeSerializableElement(descriptor, index++, String.serializer(), valueName)
|
encodeStringElement(descriptor, index++, valueName)
|
||||||
encodeSerializableElement(descriptor, index++, valueSerializer, Unit)
|
encodeSerializableElement(descriptor, index++, valueSerializer, Unit)
|
||||||
}
|
}
|
||||||
endStructure(descriptor)
|
endStructure(descriptor)
|
||||||
|
@ -36,5 +36,6 @@ object Versions {
|
|||||||
|
|
||||||
const val bintray = "1.8.5"
|
const val bintray = "1.8.5"
|
||||||
|
|
||||||
const val blockingBridge = "1.0.3"
|
const val blockingBridge = "1.0.5"
|
||||||
|
const val yamlkt = "0.5.1"
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user