Commit graph

48 commits

Author SHA1 Message Date
Gabriel Ittner
4bbc5b2ff8
Embed ProGuard rules in the jar 2018-08-19 11:14:47 +02:00
Eric Cochran
83f60d6bd7 Fix README link to jar. (#622) 2018-08-14 22:54:30 -04:00
Nelson Osacky
2d7d2c116d Update readme to add information about depending on stdlib. 2018-07-03 22:52:49 +02:00
Louis CAD
dd86599d5b
Fix codegen dependency configuration
annotationProcessor configuration is for java. Kotlin uses kapt
2018-05-17 16:14:35 +02:00
Pierre Degand
b5a50d8281 Update Proguard configuration for codegen (#542)
* Update Proguard configuration for codegen

-keepnames will prevent Proguard from renaming the class during obfuscation phase but won't protect the class from code shrinking.
In most cases, the generated are never referenced directly in the code as the adapters are loaded dynamically.
This means that, for Proguard, the class is unused and it will remove the generated adapters during the shrinking phase.

The adapters need to be kept as well as there primary constructor.

* Keep fields of generated JsonAdapter
2018-05-15 21:34:56 -04:00
Jesse Wilson
16938ab83a
Merge pull request #541 from LouisCAD/patch-1
Add missing val and fix indentation in README
2018-05-15 06:15:33 -04:00
Jesse Wilson
279b1e00a7
Merge pull request #539 from 3flex/patch-1
README: fix typo
2018-05-15 06:14:42 -04:00
Louis CAD
6187be0c59
Add missing val and fix indentation in README 2018-05-15 09:23:13 +02:00
Matthew Haughton
373209640d
README: fix typo 2018-05-15 16:52:11 +10:00
Zac Sweers
0c39719d12
Fix adapter factory name in proguard mention
Derp
2018-05-14 20:54:30 -07:00
Zac Sweers
defebcf8e5
Update proguard rules to differentiate between reflect or codegen 2018-05-14 20:22:23 -07:00
Jesse Wilson
6e411eb243 Update ProGuard rules for Kotlin codegen 2018-05-14 23:17:20 -04:00
Jesse Wilson
6deb12bdc8 Update README for 1.6.0. 2018-05-14 22:57:59 -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
c935fe36a8 Update readme for Kotlin codegen 2018-05-14 21:46:55 -04:00
Jeremy Tecson
bfa14a0d66
Indent JSON string properly 2018-04-07 17:59:02 +08:00
Szymon Kozak
351bc57554 Change compile to implementation in README (#467) 2018-03-27 17:43:46 -07:00
Jesse Wilson
caedfea74b Use HTTPS links in documentation where possible. 2018-02-25 22:09:56 -05:00
Robert Stoll
a00860ee1d mention that KotlinJsonAdapterFactory validates (#439)
See #438 for the use case. The documentation was not accurate enough IMO. Thus, mention that KotlinJsonAdapterFactory is required for validation.
2018-02-17 22:17:42 -05:00
Eric Cochran
88ec00bcf4
Document adding the KotlinJsonAdapterFactory.
If you add a custom Kotlin JsonAdapter factory after the KotlinJsonAdapterFactory, you're going to have a bad time.
2017-10-29 05:38:48 +00:00
Eric Cochran
165e3628be Update ProGuard config for CheckReturnValue. 2017-09-25 15:03:36 -04:00
John Carlson
e8a2596841 Add ProGuard rule for JsonQualifier (#342) 2017-08-04 18:15:11 -04:00
John Carlson
ab5b3a468e Add moshi-kotlin documentation 2017-07-26 12:42:02 -05:00
Oleksandr
bcb150eb06 proguard config updates
updated proguard configuration for custom Json Adapters @FromJson/@ToJson cases
2017-06-09 14:18:38 +02:00
Benoît Quenaudon
c4436cef80 FIX TYPO: Voila -> Voilà 2017-05-22 11:01:32 +09:00
jwilson
4050e45e82 Update changelog for 1.5 2017-05-14 22:02:51 -04:00
Eric Cochran
1e37d8dc42 Fix README version number 2017-02-05 14:38:05 -08:00
Henry Addo
a92509bff2 Update doc with how to parse JSON Arrays 2017-02-04 14:13:05 -05:00
jwilson
af3e435927 Update changelog for 1.3.1. 2016-10-21 09:34:32 -04:00
jwilson
cc8eab1b18 Update changelog for Moshi 1.3.0. 2016-10-15 14:16:55 -04:00
jwilson
1537e03b77 Update changelog for Moshi 1.2.0. 2016-05-28 14:25:36 -04:00
Ersin Ertan
0c14ad0117 Add java to java-less ''' 2016-03-24 18:51:01 -04:00
jwilson
633a95be62 Notes on transient and no-arguments constructors. 2016-03-22 21:52:02 -04:00
Tobias Preuss
c4cc07679c Enable syntax highlighting for code snippets. 2016-03-07 17:57:26 +01:00
jwilson
dd505172ca Update changelog for 1.1.0. 2016-01-18 17:16:20 -05:00
jwilson
d8820b03f4 Document @Json and @JsonQualifier in the README. 2016-01-11 00:24:00 -08:00
Jesse Wilson
8cff5b085e Update README.md 2015-10-26 11:01:29 -04:00
Jesse Wilson
d4e2a86444 Reference the latest Javadoc. 2015-10-25 08:38:26 -04:00
David Mihola
68f2fb1d74 Add example for custom JsonAdapter. 2015-10-08 22:54:47 -04:00
jwilson
01954b6fee Bump the version in README. 2015-09-27 17:28:37 -04:00
Jake Wharton
f00fd5f5c7 Add missing JSON highlighting to example. 2015-06-16 14:49:49 -04:00
jwilson
2d20d7731e Update release links. 2015-06-16 12:58:45 -04:00
jwilson
d01c5782c3 Initial round of Moshi docs. 2015-06-16 07:35:41 -04:00
Jesse Wilson
455fa47f9b Update README.md 2015-04-17 09:50:14 -04:00
Jake Wharton
6606cd6ec8 Add missing README link to Sonatype snapshot repo. 2015-03-29 02:40:42 -04:00
Jake Wharton
1ba702fc42 Things to allow opening. 2015-03-27 00:29:22 -04:00
Jesse Wilson
ff08c841f1 Basic project structure. 2014-08-09 12:19:29 -04:00
Jesse Wilson
d250cad896 Initial commit 2014-08-09 11:58:42 -04:00