This commit is contained in:
tursom 2021-06-30 22:02:28 +08:00
parent 160ed45cd8
commit 3c9dcdc041
3 changed files with 9 additions and 2 deletions

View File

@ -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`
}

View File

@ -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 }
}

View File

@ -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") {