Skip to content

Commit

Permalink
Version 1.0.1; Fix #6
Browse files Browse the repository at this point in the history
  • Loading branch information
Hannes Dorfmann authored and Hannes Dorfmann committed Jan 19, 2015
1 parent ebda097 commit b0e40a5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ An AnnotationProcessor for generating Android Parcelable boilerplate code.

#Dependency

Check the latest version nummber on [GradlePlease](http:https://gradleplease.appspot.com/#com.hannesdorfmann.parcelableplease)
Latest version: [![Maven Central](https:https://maven-badges.herokuapp.com/maven-central/com.hannesdorfmann.parcelableplease/annotation/badge.png)](https://maven-badges.herokuapp.com/maven-central/com.hannesdorfmann.parcelableplease/annotation)

```groovy
compile 'com.hannesdorfmann.parcelableplease:annotation:1.0.0'
apt 'com.hannesdorfmann.parcelableplease:processor:1.0.0'
compile 'com.hannesdorfmann.parcelableplease:annotation:x.x.x'
apt 'com.hannesdorfmann.parcelableplease:processor:x.x.x'
```
In android studio you need to apply Hugo Visser's awesome [android-apt](https://bitbucket.org/hvisser/android-apt) gradle plugin to enable annotation processing.

Expand Down Expand Up @@ -177,7 +177,7 @@ You can configure which fields should be serialized. There are two ways:
```


As default `ParcelablePlease` will throw a compile error if it tries to serialize private fields (private fields are not supported because of visibility issues). If your class marked with `@ParcelablePlease` contains private fields you could mark them as not pacelable with `@ParcelableNoThanks` or you could cofigure ParcelablePlease to skip private fields by using `@ParcelablePlease( ignorePrivateFields = true)`:
As default `ParcelablePlease` will throw a compile error if it tries to serialize private fields (private fields are not supported because of visibility issues). If your class marked with `@ParcelablePlease` contains private fields you could mark them as not parcelable with `@ParcelableNoThanks` or you could cofigure ParcelablePlease to skip private fields by using `@ParcelablePlease( ignorePrivateFields = true)`:

```java
@ParcelablePlease( ignorePrivateFields = true)
Expand Down
2 changes: 1 addition & 1 deletion annotation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>com.hannesdorfmann.parcelableplease</groupId>
<version>1.0.1-SNAPSHOT</version>
<version>1.0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<groupId>com.hannesdorfmann.parcelableplease</groupId>
<artifactId>parent</artifactId>
<packaging>pom</packaging>
<version>1.0.1-SNAPSHOT</version>
<version>1.0.1</version>

<name>ParcelablePlease Parent</name>
<description>Generates Android Parcelable code</description>
Expand Down
2 changes: 1 addition & 1 deletion processor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>com.hannesdorfmann.parcelableplease</groupId>
<version>1.0.1-SNAPSHOT</version>
<version>1.0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down

0 comments on commit b0e40a5

Please sign in to comment.