mirror of
https://github.com/fankes/moshi.git
synced 2025-10-21 17:09:21 +08:00
Convert MapJsonAdapter to Kotlin (#1492)
* Rename .java to .kt * Convert MapJsonAdapter to Kotlin * Pull up factory into companion object * Spotless * apicmp * Use knownNotNull * Use a template
This commit is contained in:
@@ -35,7 +35,8 @@ val japicmp = tasks.register<JapicmpTask>("japicmp") {
|
||||
"com.squareup.moshi.JsonAdapter#indent(java.lang.String)" // Was unintentionally open before
|
||||
)
|
||||
fieldExcludes = listOf(
|
||||
"com.squareup.moshi.CollectionJsonAdapter#FACTORY" // False-positive, class is not public anyway
|
||||
"com.squareup.moshi.CollectionJsonAdapter#FACTORY", // False-positive, class is not public anyway
|
||||
"com.squareup.moshi.MapJsonAdapter#FACTORY" // Class is not public
|
||||
)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user