mad-lab-fau / SensorLib

Android sensor library
MIT License
13 stars 6 forks source link

Jitpack build #8

Closed nightscape closed 5 years ago

nightscape commented 5 years ago

This PR builds on https://github.com/gradlman/SensorLib/pull/7 and https://github.com/gradlman/SensorLib/pull/6 and provides a JitPack-compatible Gradle definition on top. You can check the results here: https://jitpack.io/#nightscape/SensorLib/jitpack_build-015c8d36a2-1 One thing to note is that I had to comment out sls-empatica and sls-myo in settings.gradle because those are missing proprietary JAR dependencies. This could be improved by applying the "conditional inclusion" technique mentioned here. If e.g. I knew the names of the proprietary JAR files, I could add a condition that the two problematic modules are only included if the JARs are in the expected place. @gradlman could you tell me how those files are called?

gradlman commented 5 years ago

@nightscape The files are called "myosdk-0.10.0.aar" and "empalink-2.0.aar"

nightscape commented 5 years ago

Ah, sorry, I didn't RTFM well enough... It mentioned the names of the files very obviously :wink: