diff options
Diffstat (limited to 'libs/ihealth-sdk/android/build.gradle')
| -rwxr-xr-x | libs/ihealth-sdk/android/build.gradle | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/libs/ihealth-sdk/android/build.gradle b/libs/ihealth-sdk/android/build.gradle new file mode 100755 index 0000000..8f07183 --- /dev/null +++ b/libs/ihealth-sdk/android/build.gradle | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | apply plugin: 'com.android.library' | ||
| 2 | |||
| 3 | android { | ||
| 4 | compileSdkVersion 35 | ||
| 5 | buildToolsVersion '35.0.0' | ||
| 6 | |||
| 7 | defaultConfig { | ||
| 8 | minSdkVersion 24 | ||
| 9 | targetSdkVersion 35 | ||
| 10 | versionCode 1 | ||
| 11 | versionName "1.0" | ||
| 12 | |||
| 13 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | ||
| 14 | |||
| 15 | } | ||
| 16 | buildTypes { | ||
| 17 | release { | ||
| 18 | minifyEnabled false | ||
| 19 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | sourceSets { | ||
| 24 | main { | ||
| 25 | jniLibs.srcDirs = ['libs'] | ||
| 26 | } | ||
| 27 | } | ||
| 28 | } | ||
| 29 | |||
| 30 | dependencies { | ||
| 31 | testImplementation('com.android.support.test.espresso:espresso-core:2.2.2', { | ||
| 32 | exclude group: 'com.android.support', module: 'support-annotations' | ||
| 33 | }) | ||
| 34 | api 'androidx.appcompat:appcompat:1.2.0' | ||
| 35 | api 'androidx.core:core:1.6.0' | ||
| 36 | api 'androidx.localbroadcastmanager:localbroadcastmanager:1.1.0' | ||
| 37 | api 'androidx.annotation:annotation:1.3.0' | ||
| 38 | testImplementation 'junit:junit:4.12' | ||
| 39 | api 'com.facebook.react:react-native:+' | ||
| 40 | api 'com.squareup.okhttp3:okhttp:4.8.0' | ||
| 41 | api 'com.google.code.gson:gson:2.8.6' | ||
| 42 | implementation files('libs/iHealthSDK_2.9.8.jar') | ||
| 43 | implementation 'org.greenrobot:greendao:3.2.2' | ||
| 44 | // implementation 'no.nordicsemi.android:dfu:1.6.1' // removed — not needed for scanning, and repo not available | ||
| 45 | implementation 'com.alibaba:fastjson:1.2.48' | ||
| 46 | } | ||
