Skip to content

Commit

Permalink
Update flatbuffers-java [1.8.0 -> 1.9.0]
Browse files Browse the repository at this point in the history
  • Loading branch information
UweTrottmann committed Aug 9, 2018
1 parent 85805df commit dde2427
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/build.gradle
Expand Up @@ -160,7 +160,7 @@ dependencies {
implementation("com.crashlytics.sdk.android:crashlytics:${versions.crashlytics}@aar") {
transitive = true
}
implementation 'com.google.flatbuffers:flatbuffers-java:1.8.0'
implementation 'com.google.flatbuffers:flatbuffers-java:1.9.0'
implementation 'com.google.android.apps.dashclock:dashclock-api:2.0.0'
implementation "com.google.code.gson:gson:${versions.gson}"
implementation "com.jakewharton.threetenabp:threetenabp:${versions.threetenABP}"
Expand Down
Expand Up @@ -46,5 +46,6 @@ public static int endSgJobInfo(FlatBufferBuilder builder) {
return o;
}
public static void finishSgJobInfoBuffer(FlatBufferBuilder builder, int offset) { builder.finish(offset); }
public static void finishSizePrefixedSgJobInfoBuffer(FlatBufferBuilder builder, int offset) { builder.finishSizePrefixed(offset); }
}

7 changes: 7 additions & 0 deletions flatbuffers/compile-flatbuffers-schema.txt
@@ -0,0 +1,7 @@
Compile using

<path-to-flatc> --java SgJobInfo.fbs

Then copy files to app sources.

http://google.github.io/flatbuffers/flatbuffers_guide_tutorial.html

0 comments on commit dde2427

Please sign in to comment.