Eric Cochran
1b17423343
Make nullable primitives in codegen use boxed type adapters.
2018-08-17 13:41:43 -07:00
Jesse Wilson
9251309c3f
Merge pull request #603 from square/eric.patch-1
...
Simplify Options initializer generation.
2018-08-05 22:36:29 -04:00
Eric Cochran
248be5805b
Fix dollar sign escaping for json key names.
2018-07-24 18:03:23 -07:00
Eric Cochran
6bb83abf84
Simplify Options initializer generation.
2018-07-24 17:51:18 -07:00
Zac Sweers
78821bbc80
Update to KotlinPoet 1.0.0-RC1 ( #599 )
...
* Update to kotlinpoet 1.0.0-RC1
* Move to WildcardTypeName.STAR
* simpleNames() function -> simpleNames property
* packageName() fun -> packageName property
* simpleName() fun -> simpleName property
* Check if bounds are empty for TypeVariableName. If so, use no-bounds creator
* Use new parameterizedBy/plusParameter API where appropriate
2018-07-17 22:44:20 -04:00
Zac Sweers
c9aee2e853
Fix GeneratedAnnotation member definition
...
Before this was just adding both as varargs of "value"
2018-06-15 22:09:13 -07:00
Eric Cochran
4666e06910
Allow private transient Kotlin properties.
2018-06-06 17:12:29 -07:00
Zac Sweers
3ecdfb6374
Fix generic typealiases ( #551 )
...
* Add generic type alias
* Fix missing resolveAliases check to fix generics
* Reword to useAbbreviatedType
2018-05-17 22:06:43 -04:00
Zac Sweers
b956b06f6d
Fix companion object names not being resolved ( #549 )
...
* Fix companion object names not being resolved
This slipped through the cracks before the release
Fixes #546
* Add braces on the else clause for symmetry
2018-05-16 15:44:07 -04:00
Jesse Wilson
31ef245eeb
[maven-release-plugin] prepare for next development iteration
2018-05-14 23:00:15 -04:00
Jesse Wilson
bf4d1f8693
[maven-release-plugin] prepare release moshi-parent-1.6.0
2018-05-14 23:00:02 -04:00
Jesse Wilson
0b26628232
Merge pull request #536 from square/jwilson.0514.cast_shade
...
Shade unreleased KotlinPoet 0.7.0.
2018-05-14 22:52:35 -04:00
Jesse Wilson
b857388796
Shade unreleased KotlinPoet 0.7.0.
...
That way we won't collide with other annotation processors if they have an
incompatible version.
2018-05-14 22:40:29 -04:00
Jesse Wilson
dd3043722e
Generated adapters should use skipName(), not nextName().
2018-05-14 22:39:33 -04:00
Jesse Wilson
9f69029ef0
Move the Kotlin code generator to the kotlin/ module
2018-05-14 16:29:52 -04:00