objectbox / objectbox-java

Android Database - first and fast, lightweight on-device vector database
https://objectbox.io
Apache License 2.0
4.38k stars 302 forks source link

Maven support #637

Open accron-1 opened 5 years ago

accron-1 commented 5 years ago

If ObjectBox only targeted Android it could make sense to only give an out-of-the-box solution based on Gradle. But it is presented as an appropriate solution for plain Java projects as well.

Many (most?) Java projects are Maven based. As such the barrier to adoption of ObjectBox by supporting only a specific build system, all while touting cross platform/project support, is just bizarre.

greenrobot-team commented 5 years ago

Thanks for suggesting to support Maven in addition to Gradle.

I can't say if it actually will be possible, but please thumbs up the first comment if you also would like to see Maven support. -ut

greenrobot-team commented 5 years ago

We created an example how you can already use Maven with the existing tools. It requires some additional setup compared to Gradle, but it should work (let us know if it does not): https://github.com/objectbox/objectbox-examples/tree/master/java-main-maven

-Uwe