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 {
    namespace 'info.nightscout.automation'
}

dependencies {
    implementation project(':core:graphview')
    implementation project(':core:main')
    implementation project(':core:utils')
    implementation project(':core:ui')
    implementation project(':core:validators')
    implementation project(':database:entities')
    implementation project(':database:impl')
    implementation project(':app-wear-shared:shared')
    implementation project(':core:interfaces')

    testImplementation project(':app-wear-shared:shared-tests')
    testImplementation project(':implementation')
    testImplementation project(':plugins:main')

    api "androidx.constraintlayout:constraintlayout:$constraintlayout_version"
    api "com.google.android.gms:play-services-location:$play_services_location_version"
}