mirror of
https://github.com/fankes/moshi.git
synced 2025-10-22 01:19:22 +08:00
Convert ClassJsonAdapter to kotlin (#1470)
This commit is contained in:
@@ -32,6 +32,7 @@ val japicmp = tasks.register<JapicmpTask>("japicmp") {
|
||||
"com.squareup.moshi.StandardJsonAdapters", // Package-private
|
||||
"com.squareup.moshi.RecordJsonAdapter\$ComponentBinding", // Package-private
|
||||
"com.squareup.moshi.AdapterMethodsFactory", // Internal.
|
||||
"com.squareup.moshi.ClassJsonAdapter", // Internal.
|
||||
)
|
||||
methodExcludes = listOf(
|
||||
"com.squareup.moshi.JsonAdapter#indent(java.lang.String)", // Was unintentionally open before
|
||||
@@ -39,7 +40,7 @@ val japicmp = tasks.register<JapicmpTask>("japicmp") {
|
||||
fieldExcludes = listOf(
|
||||
"com.squareup.moshi.CollectionJsonAdapter#FACTORY", // False-positive, class is not public anyway
|
||||
"com.squareup.moshi.MapJsonAdapter#FACTORY", // Class is not public
|
||||
"com.squareup.moshi.ArrayJsonAdapter#FACTORY" // Class is not public
|
||||
"com.squareup.moshi.ArrayJsonAdapter#FACTORY", // Class is not public
|
||||
)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user