plugins {
  id 'com.android.library'
  id 'expo-module-gradle-plugin'
}

group = 'expo.modules.callkittelecom'
version = '0.1.0'

android {
  namespace "expo.modules.callkittelecom"
  defaultConfig {
    versionCode 1
    versionName "0.1.0"
  }
  lintOptions {
    abortOnError false
  }
}

dependencies {
  implementation "androidx.core:core-telecom:1.0.1"
  implementation "com.google.firebase:firebase-messaging:24.1.0"

  // expo-notifications may be included as a source project or as a prebuilt
  // Maven artifact via Expo's version catalog, depending on the SDK version.
  def notificationsProject = rootProject.findProject(":expo-notifications")
  if (notificationsProject != null) {
    compileOnly notificationsProject
  } else {
    compileOnly "host.exp.exponent:expo.modules.notifications:+"
  }
}
