plugins {
    id 'com.android.library'
    id 'kotlin-android'
    id 'kotlin-kapt'
    id 'kotlin-allopen'
}

apply from: "${project.rootDir}/core/main/android_dependencies.gradle"
apply from: "${project.rootDir}/core/main/android_module_dependencies.gradle"
apply from: "${project.rootDir}/core/main/allopen_dependencies.gradle"
apply from: "${project.rootDir}/core/main/test_dependencies.gradle"
apply from: "${project.rootDir}/core/main/jacoco_global.gradle"

android {
    ndkVersion "21.1.6352462"
    namespace 'info.nightscout.pump.danars'

    defaultConfig {

        ndk {
            moduleName "BleCommandUtil"
        }
    }

    sourceSets {
        main {
            jniLibs.srcDirs = ['src/main/jniLibs']
        }
    }
}

dependencies {
    implementation project(':core:interfaces')
    implementation project(':core:main')
    implementation project(':core:utils')
    implementation project(':core:ui')
    implementation project(':core:validators')
    implementation project(':pump:dana')

    testImplementation project(':shared:tests')
    testImplementation project(':core:main')
}