objectbox / objectbox/objectbox-java
ObjectBox on multi-module project
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.6k
- Forks
- 311
- PR merge metrics
- No merged PRs in 30d
Description
I have a project with a app and multi modules(app, domain, data).
I created an Application in module-app, init objectbox in the module app application, for regenerate the database from some json files.
My entities are in the domain module, and some repositories in the data module.
My problem is that MyObjectBox class is not generated.
How should I make it work?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the multi-module setup described for app, domain, and data, including where the Application initializes ObjectBox and where the entities reside. Check why MyObjectBox is not generated or available across those modules, then verify that database regeneration works from the JSON files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- database, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100