Convert adapters to Kotlin (#1460)

* Convert Rfc3339DateJsonAdapter

* Convert EnumJsonAdapter

* Convert PolymorphicJsonAdapterFactory

* Convert Rfc3339DateJsonAdapter and Iso8601Utils

* Doc indent fix

* Use template

* Address CR comments

* Spotless and jsr cleanup

* Couple small tweaks

* Remove toList()

* Use simpler map

* Inline GregorianCalendar

* Interp

* Fix copyright

* interp

* Fix another copyright

* Restore toList()
This commit is contained in:
Zac Sweers
2022-01-06 15:15:48 -05:00
committed by GitHub
parent e2c346e1de
commit 484d525db4
12 changed files with 743 additions and 815 deletions

View File

@@ -13,7 +13,6 @@ dependencies {
compileOnly(libs.jsr305)
api(project(":moshi"))
testCompileOnly(libs.jsr305)
testImplementation(libs.junit)
testImplementation(libs.truth)
}