Skip to content

Changing destination directory of native libraries #973

Open
@ra-v97

Description

@ra-v97

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions