update jankson

This commit is contained in:
nikky 2018-07-03 23:49:25 +02:00
parent 510123b6f5
commit c326ca2b48
3 changed files with 4 additions and 9 deletions

@ -1 +1 @@
Subproject commit 8771387a0568da140879c0104da32ba58e3bb717
Subproject commit 9504df0618d2826aefd98db80445d5d68484b606

View File

@ -1,5 +1,5 @@
plugins {
id "org.jetbrains.kotlin.jvm" version '1.2.41'
id "org.jetbrains.kotlin.jvm" version '1.2.51'
id 'idea'
}
@ -29,11 +29,6 @@ subprojects {
name = "shadowfacts"
url = "http://maven.shadowfacts.net/"
}
ivy {
//Resolves jankson
name "endless.blue dependency mirror";
artifactPattern "https://endless.blue/files/ivy/[module]-[revision].[ext]";
}
}
}

View File

@ -96,8 +96,8 @@ object CommandConfig {
}
.build()
jankson.marshaller.registerSerializer(Regex::class.java) {
JsonPrimitive(it.pattern)
jankson.marshaller.registerSerializer(Regex::class.java) { regex, marshaller ->
JsonPrimitive(regex.pattern)
}
val jsonObject = try {