summaryrefslogtreecommitdiff
path: root/libs/ihealth-sdk/android/build.gradle
blob: 8f07183c72d5c225dbea479d68e2a0fc1b54881d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
apply plugin: 'com.android.library'

android {
    compileSdkVersion 35
    buildToolsVersion '35.0.0'

    defaultConfig {
        minSdkVersion 24
        targetSdkVersion 35
        versionCode 1
        versionName "1.0"

        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }

    sourceSets {
        main {
            jniLibs.srcDirs = ['libs']
        }
    }
}

dependencies {
    testImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })
    api 'androidx.appcompat:appcompat:1.2.0'
    api 'androidx.core:core:1.6.0'
    api 'androidx.localbroadcastmanager:localbroadcastmanager:1.1.0'
    api 'androidx.annotation:annotation:1.3.0'
    testImplementation 'junit:junit:4.12'
    api 'com.facebook.react:react-native:+'
    api 'com.squareup.okhttp3:okhttp:4.8.0'
    api 'com.google.code.gson:gson:2.8.6'
    implementation files('libs/iHealthSDK_2.9.8.jar')
    implementation 'org.greenrobot:greendao:3.2.2'
    // implementation 'no.nordicsemi.android:dfu:1.6.1' // removed — not needed for scanning, and repo not available
    implementation 'com.alibaba:fastjson:1.2.48'
}