| # Regenerate the JNI Bindings using: dart run jnigen --config jnigen.yaml |
| |
| summarizer: |
| backend: asm |
| |
| output: |
| dart: |
| path: "lib/src/jni/bindings.dart" |
| structure: single_file |
| |
| android_sdk_config: |
| add_gradle_deps: true |
| android_example: "example/" |
| |
| classes: |
| - "okhttp3.Request" |
| - "okhttp3.RequestBody" |
| - "okhttp3.Response" |
| - "okhttp3.ResponseBody" |
| - "okhttp3.OkHttpClient" |
| - "okhttp3.Call" |
| - "okhttp3.Headers" |
| - "okhttp3.Callback" |
| - "okhttp3.ConnectionPool" |
| - "okhttp3.Dispatcher" |
| - "java.util.concurrent.ExecutorService" |
| - "okhttp3.Cache" |
| - "com.example.ok_http.RedirectReceivedCallback" |
| - "com.example.ok_http.RedirectInterceptor" |
| - "com.example.ok_http.AsyncInputStreamReader" |
| - "com.example.ok_http.DataCallback" |
| - "okhttp3.WebSocket" |
| - "com.example.ok_http.WebSocketListenerProxy" |
| - "okio.ByteString" |
| - "com.example.ok_http.WebSocketInterceptor" |
| - "java.util.concurrent.TimeUnit" |
| |
| preamble: | |
| // ignore_for_file: prefer_expression_function_bodies |