apply plugin: "kotlin-kapt"
apply plugin: "kotlin-android"
apply plugin: 'kotlin-android-extensions'

repositories{
  jcenter()
  flatDir {
      dirs 'libs'
   }
}

dependencies {
  def kotlin_version = "1.3.41"
  def room_version = "2.2.1"

  compile(name:'MTTrackerKit', ext:'aar')
  compile 'com.android.support:support-v4:21.+'

  implementation fileTree(dir: 'libs', include: ['*.jar'])
  implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  implementation "androidx.room:room-runtime:$room_version"
  implementation "com.google.code.gson:gson:2.8.6"
  kapt "androidx.room:room-compiler:$room_version"
}

android {
  packagingOptions {
    exclude 'META-INF/NOTICE'
    exclude 'META-INF/LICENSE'
  }
}