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

Changing destination directory of native libraries #973

Open
ra-v97 opened this issue Mar 31, 2021 · 0 comments
Open

Changing destination directory of native libraries #973

ra-v97 opened this issue Mar 31, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@ra-v97
Copy link

ra-v97 commented Mar 31, 2021

Description

I use ObjectBox as a database in a Java Desktop App. My build tool is gradle and I add ObjectBox dependencies manually without dedicated plugin.

Code fragment I use to add dependency is like:

dependencies {
    implementation(group = "io.objectbox", name = "objectbox-java", version = "2.9.1")
    implementation(group = "io.objectbox", name = "objectbox-windows", version = "2.9.1")
    annotationProcessor(group = "io.objectbox", name = "objectbox-processor", version = "2.9.1")
}

After project build I can use library without any problems, but in my root directory file objectbox-jni-windows-x64.dll with native library is added and I cannot change the output path for the native library file.

Requested feature
Possibility to configure custom directory, where native libraries will be placed after dependency import. Best option would be to configure it in gradle script during import as I can configure model path and MyObjectBox package.

Thanks in advance for all help and tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant