iDevicesInc / SweetBlue

BLE on Android, the easy way. THIS IS NOW DEPRECATED. Please visit website for info on new versions.
https://sweetblue.io
GNU General Public License v3.0
357 stars 57 forks source link

How can i build the latest sweetblue library with gradle option #447

Closed FahidDis closed 6 years ago

FahidDis commented 6 years ago

With latest documentation there is no option to include library with gradle. I want to use library with gradle and not putting the library files in the project in it self.

Is there any way through which i can use this library using gradle instead of placing whole library in my project i don't want to increase the size of my app. Thanks

ryanhubbell commented 6 years ago

Just so you know, no matter how you include SweetBlue, it will be in your app. Just adding it as a maven dependency doesn't mean the code won't be on your apk (if it weren't then how would it even work?). Anyway, you can go to idevicesinc.com/sweetblue and fill in your email address. We will email you a link to download a zip file, which contains some sample projects, and a jar, and aar files to include in your project.