repositories{
    google()
    jcenter()
    maven { url 'https://anylinesdk.blob.core.windows.net/maven/'}
    flatDir {
        dirs 'libs'
    }
}

dependencies {
    implementation 'com.google.firebase:firebase-ml-vision:19.0.2'
    implementation 'com.google.firebase:firebase-ml-vision-face-model:17.0.2'
    implementation 'io.anyline:anylinesdk:17-NoDocUI@aar'
//    implementation (name: 'anylinesdk-release-16', ext: 'aar')
}

android {

  defaultConfig {
      ndk {
      abiFilters "armeabi-v7a", "x86", "arm64-v8a"
    } 
  }

  compileOptions {
      sourceCompatibility JavaVersion.VERSION_1_7
      targetCompatibility JavaVersion.VERSION_1_7
  }

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

}

ext.postBuildExtras = {
    android {
        compileOptions {
            sourceCompatibility JavaVersion.VERSION_1_7
            targetCompatibility JavaVersion.VERSION_1_7
        }
    }
}
