mirror of
https://github.com/tursom/TursomServer.git
synced 2025-01-01 07:50:47 +08:00
update
This commit is contained in:
parent
160ed45cd8
commit
3c9dcdc041
@ -17,7 +17,7 @@ ext["excludeTest"] = { project: Project, tasks: TaskContainer ->
|
||||
|
||||
|
||||
plugins {
|
||||
kotlin("jvm") version "1.5.0"
|
||||
kotlin("jvm") version "1.5.20"
|
||||
`maven-publish`
|
||||
}
|
||||
|
||||
|
@ -61,3 +61,10 @@ open class CloseSafeByteBuffer(
|
||||
return agent.resize(newSize)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
fun main() {
|
||||
val map = mapOf(1 to "1_", 2 to "2_")
|
||||
map.entries.associate { it.value to it.key }
|
||||
}
|
||||
|
||||
|
@ -13,7 +13,7 @@ dependencies {
|
||||
compileOnly(group = "com.google.code.gson", name = "gson", version = "2.8.6")
|
||||
}
|
||||
|
||||
@kotlin.Suppress("UNCHECKED_CAST")
|
||||
@kotlin.Suppress("UNCHECKED_CAST")
|
||||
(rootProject.ext["excludeTest"] as (Project, TaskContainer) -> Unit)(project, tasks)
|
||||
|
||||
tasks.register("install") {
|
||||
|
Loading…
Reference in New Issue
Block a user