-
Notifications
You must be signed in to change notification settings - Fork 363
/
Copy pathjnigen.yaml
39 lines (34 loc) · 1007 Bytes
/
jnigen.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 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