Hi,
I built and addon that uses an external lib that is not included on Bookmap/lib directory.
I'm wondering if there is a way to load it?
Thanks,
How to load external lib to BM?
-
- Posts: 545
- Joined: Mon Jul 09, 2018 11:18 am
- Has thanked: 22 times
- Been thanked: 83 times
Re: How to load external lib to BM?
Hi blk,
you can either:
- pack a fat jar: repack external libs into your jar (if it is not prohibited by an external lib license);
- create instances of classes from external jars with your own class loader.
you can either:
- pack a fat jar: repack external libs into your jar (if it is not prohibited by an external lib license);
- create instances of classes from external jars with your own class loader.