Allow custom generators (#847)

* Extract generatedJsonAdapterName to public API for other generators/consumers

* Fix kapt location in tests

* Add IDE-generated dependency-reduced-pom.xml to gitignore

This always bites me

* Add generator property to JsonClass and skip in processor

* Opportunistically fix formatting for generateAdapter doc

* Extract NullSafeJsonAdapter for delegate testing

* Add custom adapter tests

* Allow no-moshi constructors for generated adapters

* Fix rebase issue

* Use something other than nullSafe() for lenient check

This no longer propagates lenient

* Add missing copyrights

* Add top-level class note

* Add note about working against Moshi's generated signature

* Add missing bit to "requirements for"

* Note kotlin requirement relaxed in custom generators

* Style
This commit is contained in:
Zac Sweers
2019-05-15 20:42:08 -04:00
committed by Jesse Wilson
parent a5020ddb3c
commit 0943ef5a61
11 changed files with 283 additions and 72 deletions

1
.gitignore vendored
View File

@@ -12,6 +12,7 @@ lib
target
pom.xml.*
release.properties
dependency-reduced-pom.xml
.idea
*.iml