Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate library for host machines #107

Open
nelson-glauber opened this issue Jan 10, 2024 · 0 comments
Open

Generate library for host machines #107

nelson-glauber opened this issue Jan 10, 2024 · 0 comments
Assignees

Comments

@nelson-glauber
Copy link
Collaborator

Currently, the LVN Client Jetpack library relies on Core Jetpack and it's working fine on Android devices.
However, to run unit tests (particularly the Screen Shot tests)of the LVN Client Jetpack, it's necessary to have a version of the Core Jetpack compiled to host architectures like Windows, Linux, and Mac OS.

At the moment, what I did was:

  • added the "darwin-aarch64" target (because I'm using a M1 Macbook);
  • ran the command ./gradlew assembleRelease to generated the *.dylib file;
  • copied the binary to the liveview-android/src/test/jniLibs directory in the LVN Client Jetpack project.

The ideal solution would be to release a dependency just for unit tests and declare it in the dependencies section like:

testImplementation "com.github.liveview-native:liveview-native-core-jetpack-host:<version>"
@simlay simlay transferred this issue from liveview-native/liveview-native-core-jetpack Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants