diff --git a/Precompiled/sensorlib-debug.aar b/Precompiled/sensorlib-debug.aar deleted file mode 100644 index abe70e29..00000000 Binary files a/Precompiled/sensorlib-debug.aar and /dev/null differ diff --git a/Precompiled/sensorlibutils-debug.aar b/Precompiled/sensorlibutils-debug.aar deleted file mode 100644 index eb65f6da..00000000 Binary files a/Precompiled/sensorlibutils-debug.aar and /dev/null differ diff --git a/Precompiled/sensorlibutils-release.aar b/Precompiled/sensorlibutils-release.aar deleted file mode 100644 index a9bb211b..00000000 Binary files a/Precompiled/sensorlibutils-release.aar and /dev/null differ diff --git a/Precompiled/sls-empatica-debug.aar b/Precompiled/sls-empatica-debug.aar deleted file mode 100644 index ba829747..00000000 Binary files a/Precompiled/sls-empatica-debug.aar and /dev/null differ diff --git a/Precompiled/sls-fitnessshirt-debug.aar b/Precompiled/sls-fitnessshirt-debug.aar deleted file mode 100644 index 9a2c5244..00000000 Binary files a/Precompiled/sls-fitnessshirt-debug.aar and /dev/null differ diff --git a/Precompiled/sls-fitnessshirt-release.aar b/Precompiled/sls-fitnessshirt-release.aar deleted file mode 100644 index 76a949d2..00000000 Binary files a/Precompiled/sls-fitnessshirt-release.aar and /dev/null differ diff --git a/Precompiled/sls-muse-debug.aar b/Precompiled/sls-muse-debug.aar deleted file mode 100644 index 3705fee2..00000000 Binary files a/Precompiled/sls-muse-debug.aar and /dev/null differ diff --git a/Precompiled/sls-muse-release.aar b/Precompiled/sls-muse-release.aar deleted file mode 100644 index 08db9bf1..00000000 Binary files a/Precompiled/sls-muse-release.aar and /dev/null differ diff --git a/Precompiled/sls-myo-debug.aar b/Precompiled/sls-myo-debug.aar deleted file mode 100644 index d6e33975..00000000 Binary files a/Precompiled/sls-myo-debug.aar and /dev/null differ diff --git a/Precompiled/sls-portabiles-debug.aar b/Precompiled/sls-portabiles-debug.aar deleted file mode 100644 index e47fecee..00000000 Binary files a/Precompiled/sls-portabiles-debug.aar and /dev/null differ diff --git a/Precompiled/sls-shimmer-debug.aar b/Precompiled/sls-shimmer-debug.aar deleted file mode 100644 index 280c164e..00000000 Binary files a/Precompiled/sls-shimmer-debug.aar and /dev/null differ diff --git a/Precompiled/sls-shimmer-release.aar b/Precompiled/sls-shimmer-release.aar deleted file mode 100644 index c9b116fe..00000000 Binary files a/Precompiled/sls-shimmer-release.aar and /dev/null differ diff --git a/Precompiled/sls-simblee-debug.aar b/Precompiled/sls-simblee-debug.aar deleted file mode 100644 index 01c24d35..00000000 Binary files a/Precompiled/sls-simblee-debug.aar and /dev/null differ diff --git a/Precompiled/sls-smartband2-debug.aar b/Precompiled/sls-smartband2-debug.aar deleted file mode 100644 index c86c8448..00000000 Binary files a/Precompiled/sls-smartband2-debug.aar and /dev/null differ diff --git a/Precompiled/sls-smartwatch-debug.aar b/Precompiled/sls-smartwatch-debug.aar deleted file mode 100644 index ec6f62f1..00000000 Binary files a/Precompiled/sls-smartwatch-debug.aar and /dev/null differ diff --git a/Precompiled/sls-tek-debug.aar b/Precompiled/sls-tek-debug.aar deleted file mode 100644 index dfb58c18..00000000 Binary files a/Precompiled/sls-tek-debug.aar and /dev/null differ diff --git a/Precompiled/sls-tek-release.aar b/Precompiled/sls-tek-release.aar deleted file mode 100644 index 6343fc9b..00000000 Binary files a/Precompiled/sls-tek-release.aar and /dev/null differ diff --git a/README.md b/README.md index 9e9cf7a8..f800ff2f 100644 --- a/README.md +++ b/README.md @@ -14,20 +14,18 @@ Right now, the following external libraries are required to compile all sensor m ## Minimal example Using the SensorLib is very easy. -First, you have to include the sensorlib.aar and the respective sensor-submodule you want to use into your build.gradle file. To do this, just add the following line to your build.gradle: +First, you have to include the Jitpack.io maven repository to your project build.grade file and then add the sensorlib and the respective sensor-submodule you want to use into your module build.gradle file. To do this, just add the following line to the respective files: ``` +# build.gradle repositories { - flatDir { - dirs 'libs' - } + maven { url 'https://jitpack.io' } } -... - +# app/build.gradle dependencies { ... - compile(name: 'sensorlib', ext: 'aar') - compile(name: 'sls-tek', ext: 'aar') + implementation 'com.github.mad-lab-fau.sensorlib:sensorlib:0.15.7' + implementation 'com.github.mad-lab-fau.sensorlib:sls-tek:0.15.7' ... } ``` diff --git a/SensorLib/sensorlib/.gitignore b/SensorLib/sensorlib/.gitignore index d002c8de..a680cc4e 100644 --- a/SensorLib/sensorlib/.gitignore +++ b/SensorLib/sensorlib/.gitignore @@ -36,6 +36,3 @@ captures/ # Keystore files *.jks - -# Exclude Precompiled sensorlib libraries -Precompiled \ No newline at end of file diff --git a/SensorLib/sensorlib/build.gradle b/SensorLib/sensorlib/build.gradle index 3b1bf477..580b6706 100644 --- a/SensorLib/sensorlib/build.gradle +++ b/SensorLib/sensorlib/build.gradle @@ -65,14 +65,3 @@ dependencies { implementation 'com.xeoh.android:checkboxgroup:1.0.1' } - -tasks.create(name: 'copyApk', type: Copy) { - from 'build/outputs/aar' - into '../../Precompiled' -} - -tasks.whenTaskAdded { task -> - if (task.name == 'mockableAndroidJar') { - task.dependsOn 'copyApk' - } -} diff --git a/SensorLib/sensorlibutils/build.gradle b/SensorLib/sensorlibutils/build.gradle index df4f6702..8ebc94b3 100644 --- a/SensorLib/sensorlibutils/build.gradle +++ b/SensorLib/sensorlibutils/build.gradle @@ -26,14 +26,3 @@ dependencies { implementation project(path: ':sensorlib') implementation 'androidx.appcompat:appcompat:1.1.0-alpha05' } - -tasks.create(name: 'copyApk', type: Copy) { - from 'build/outputs/aar' - into '../../Precompiled' -} - -tasks.whenTaskAdded { task -> - if (task.name == 'mockableAndroidJar') { - task.dependsOn 'copyApk' - } -} diff --git a/SensorLib/sls-fitnessshirt/build.gradle b/SensorLib/sls-fitnessshirt/build.gradle index d2fd87d6..758b22d2 100644 --- a/SensorLib/sls-fitnessshirt/build.gradle +++ b/SensorLib/sls-fitnessshirt/build.gradle @@ -25,14 +25,3 @@ dependencies { implementation project(path: ':sensorlib') implementation 'androidx.appcompat:appcompat:1.1.0-alpha05' } - -tasks.create(name: 'copyApk', type: Copy) { - from 'build/outputs/aar' - into '../../Precompiled' -} - -tasks.whenTaskAdded { task -> - if (task.name == 'mockableAndroidJar') { - task.dependsOn 'copyApk' - } -} diff --git a/SensorLib/sls-muse/build.gradle b/SensorLib/sls-muse/build.gradle index 5a9eeeb4..ebdd57ce 100644 --- a/SensorLib/sls-muse/build.gradle +++ b/SensorLib/sls-muse/build.gradle @@ -26,14 +26,3 @@ dependencies { implementation project(path: ':sensorlib') implementation 'androidx.appcompat:appcompat:1.1.0-alpha05' } - -tasks.create(name: 'copyApk', type: Copy) { - from 'build/outputs/aar' - into '../../Precompiled' -} - -tasks.whenTaskAdded { task -> - if (task.name == 'mockableAndroidJar') { - task.dependsOn 'copyApk' - } -} diff --git a/SensorLib/sls-portabiles/build.gradle b/SensorLib/sls-portabiles/build.gradle index 0e96788c..a7652760 100644 --- a/SensorLib/sls-portabiles/build.gradle +++ b/SensorLib/sls-portabiles/build.gradle @@ -33,15 +33,3 @@ dependencies { implementation 'com.google.code.gson:gson:2.8.6' implementation 'no.nordicsemi.android:dfu:1.9.0' } - - -tasks.create(name: 'copyApk', type: Copy) { - from 'build/outputs/aar' - into '../../Precompiled' -} - -tasks.whenTaskAdded { task -> - if (task.name == 'mockableAndroidJar') { - task.dependsOn 'copyApk' - } -} diff --git a/SensorLib/sls-shimmer/build.gradle b/SensorLib/sls-shimmer/build.gradle index d8034277..cd95d398 100644 --- a/SensorLib/sls-shimmer/build.gradle +++ b/SensorLib/sls-shimmer/build.gradle @@ -12,7 +12,7 @@ android { versionCode 1 versionName "1.0" } - + lintOptions { abortOnError false } @@ -34,14 +34,3 @@ dependencies { implementation group: 'java3d', name: 'vecmath', version: '1.3.1' } - -tasks.create(name: 'copyApk', type: Copy) { - from 'build/outputs/aar' - into '../../Precompiled' -} - -tasks.whenTaskAdded { task -> - if (task.name == 'mockableAndroidJar') { - task.dependsOn 'copyApk' - } -} diff --git a/SensorLib/sls-simblee/build.gradle b/SensorLib/sls-simblee/build.gradle index 88d93d83..5b35b25e 100644 --- a/SensorLib/sls-simblee/build.gradle +++ b/SensorLib/sls-simblee/build.gradle @@ -26,15 +26,3 @@ dependencies { implementation project(path: ':sensorlib') implementation 'androidx.appcompat:appcompat:1.1.0-alpha05' } - - -tasks.create(name: 'copyApk', type: Copy) { - from 'build/outputs/aar' - into '../../Precompiled' -} - -tasks.whenTaskAdded { task -> - if (task.name == 'mockableAndroidJar') { - task.dependsOn 'copyApk' - } -} diff --git a/SensorLib/sls-smartband2/build.gradle b/SensorLib/sls-smartband2/build.gradle index 638ef075..b21f6868 100644 --- a/SensorLib/sls-smartband2/build.gradle +++ b/SensorLib/sls-smartband2/build.gradle @@ -27,15 +27,3 @@ dependencies { implementation project(path: ':sensorlib') implementation 'androidx.appcompat:appcompat:1.1.0-alpha05' } - - -tasks.create(name: 'copyApk', type: Copy) { - from 'build/outputs/aar' - into '../../Precompiled' -} - -tasks.whenTaskAdded { task -> - if (task.name == 'mockableAndroidJar') { - task.dependsOn 'copyApk' - } -} diff --git a/SensorLib/sls-smartwatch/build.gradle b/SensorLib/sls-smartwatch/build.gradle index 66e038de..df15fefa 100644 --- a/SensorLib/sls-smartwatch/build.gradle +++ b/SensorLib/sls-smartwatch/build.gradle @@ -27,14 +27,3 @@ dependencies { implementation 'androidx.appcompat:appcompat:1.1.0-alpha05' implementation 'com.google.android.gms:play-services-wearable:16.0.1' } - -tasks.create(name: 'copyApk', type: Copy) { - from 'build/outputs/aar' - into '../../Precompiled' -} - -tasks.whenTaskAdded { task -> - if (task.name == 'mockableAndroidJar') { - task.dependsOn 'copyApk' - } -} diff --git a/SensorLib/sls-tek/build.gradle b/SensorLib/sls-tek/build.gradle index 4c59ed75..b21f6868 100644 --- a/SensorLib/sls-tek/build.gradle +++ b/SensorLib/sls-tek/build.gradle @@ -27,14 +27,3 @@ dependencies { implementation project(path: ':sensorlib') implementation 'androidx.appcompat:appcompat:1.1.0-alpha05' } - -tasks.create(name: 'copyApk', type: Copy) { - from 'build/outputs/aar' - into '../../Precompiled' -} - -tasks.whenTaskAdded { task -> - if (task.name == 'mockableAndroidJar') { - task.dependsOn 'copyApk' - } -}