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/test_dependencies.gradle"
apply from: "${project.rootDir}/core/main/allopen_dependencies.gradle"
apply from: "${project.rootDir}/core/main/jacoco_global.gradle"

android {
    namespace 'info.nightscout.plugins.constraints'
}

dependencies {
    implementation project(':core:interfaces')
    implementation project(':core:main')
    implementation project(':core:ui')
    implementation project(':core:utils')
    implementation project(':core:validators')
    implementation project(':database:entities')

    testImplementation project(':database:impl')
    testImplementation project(':implementation')
    testImplementation project(':insight')
    testImplementation project(':plugins:aps')
    testImplementation project(':plugins:source')
    testImplementation project(':pump:combo')
    testImplementation project(':pump:dana')
    testImplementation project(':pump:danar')
    testImplementation project(':pump:danars')
    testImplementation project(':pump:virtual')
    testImplementation project(':shared:tests')

    // Phone checker
    api 'com.scottyab:rootbeer-lib:0.1.0'
}