build.gradle 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion build_versions.target_sdk
  4. buildToolsVersion build_versions.build_tools
  5. defaultConfig {
  6. minSdkVersion build_versions.min_sdk
  7. targetSdkVersion build_versions.target_sdk
  8. versionCode 1
  9. versionName "1.0"
  10. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled false
  15. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  16. }
  17. debug {
  18. minifyEnabled false
  19. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  20. }
  21. }
  22. // sourceSets {
  23. // main {
  24. // jniLibs.srcDirs = ['jniLibs']
  25. //
  26. // }
  27. // }
  28. }
  29. dependencies {
  30. androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
  31. exclude group: 'com.android.support', module: 'support-annotations'
  32. })
  33. implementation 'com.android.support:appcompat-v7:28.0.0'
  34. implementation files('libs/license.jar')
  35. api files('libs/ocr-sdk.jar')
  36. }