Skip to content

Commit f4ce529

Browse files
Add protobuf attribute on @entity.
- Prepare version 3.2.0-SNAPSHOT.
1 parent ac748fd commit f4ce529

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

greendao-api/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apply plugin: 'java'
22

33
group = 'org.greenrobot'
4-
version = '3.1.1'
4+
version = '3.2.0-SNAPSHOT'
55

66
sourceCompatibility = 1.7
77
targetCompatibility = 1.7

greendao-api/src/main/java/org/greenrobot/greendao/annotation/Entity.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,9 @@
5454
*/
5555
boolean generateGettersSetters() default true;
5656

57+
/**
58+
* Define a protobuf class of this entity to create an additional, special DAO for.
59+
*/
60+
Class protobuf() default void.class;
61+
5762
}

0 commit comments

Comments
 (0)