apply plugin: 'com.android.library'
apply from: 'gradle-maven-push.gradle'

android {
  compileSdkVersion 25
  buildToolsVersion "25.0.2"

  defaultConfig {
    minSdkVersion 16
    targetSdkVersion 25
  }

  packagingOptions {
    exclude 'META-INF/LICENSE'
    exclude 'META-INF/DEPENDENCIES.txt'
    exclude 'META-INF/LICENSE.txt'
    exclude 'META-INF/NOTICE.txt'
    exclude 'META-INF/NOTICE'
    exclude 'META-INF/DEPENDENCIES'
    exclude 'META-INF/notice.txt'
    exclude 'META-INF/license.txt'
    exclude 'META-INF/dependencies.txt'
    exclude 'META-INF/LGPL2.1'
  }

  lintOptions {
    disable 'InvalidPackage'
  }

  compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_7
    targetCompatibility JavaVersion.VERSION_1_7
  }
}

dependencies {
  compile 'com.android.support:appcompat-v7:25.2.0'
  compile 'com.android.support:support-annotations:25.2.0'
  compile 'com.android.support:design:25.2.0'
  compile 'com.fasterxml.jackson.core:jackson-databind:2.8.3'
  compile 'com.facebook.fresco:fresco:1.0.1'
  compile 'com.facebook.fresco:imagepipeline-okhttp3:1.0.1'
  provided 'com.facebook.react:react-native:+'
}
