diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-02-10 13:36:09 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-04-05 12:26:10 +0200 |
| commit | 53b31fa9f103d8262b7c1d28c5714238902e5081 (patch) | |
| tree | 5aa56e5e756f33f3753f5b5b4decdefe4782db61 /wrappers/java-android | |
| parent | 23e63807085b13a9b221c3374d05099559583011 (diff) | |
Move python library load to init and fix build
Signed-off-by: jwijenbergh <jeroenwijenbergh@protonmail.com>
Diffstat (limited to 'wrappers/java-android')
| -rw-r--r-- | wrappers/java-android/README.md | 2 | ||||
| -rw-r--r-- | wrappers/java-android/lib/build.gradle | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/wrappers/java-android/README.md b/wrappers/java-android/README.md index db55673..50e1868 100644 --- a/wrappers/java-android/README.md +++ b/wrappers/java-android/README.md @@ -79,7 +79,7 @@ Specify `NO_DAEMON=1` to add `--no-daemon`. ## Notes The same Java code is used for the Android instrumented tests as for the unit tests. Both use Java resources that are -copied from the `../../test_data` folder by Gradle. +copied from the `../../src/test_data` folder by Gradle. This library uses JNA, not JNI. Hence, there is no C wrapper. The library is dynamically opened with `dlopen` via `libjnidispatch.so` which comes with the JNA AAR. diff --git a/wrappers/java-android/lib/build.gradle b/wrappers/java-android/lib/build.gradle index be666aa..04cb00e 100644 --- a/wrappers/java-android/lib/build.gradle +++ b/wrappers/java-android/lib/build.gradle @@ -54,7 +54,7 @@ android { } task copyTestData(type: Copy, description: 'Copy test_data to test resources') { - from('../../../test_data') { + from('../../../src/test_data') { exclude '**/*.py', '**/*.sh' } into sourceSets.test.resources.srcDirs[0].toPath().resolve('org/eduvpn/common') |
