You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.gradle 1.3 kB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 26
  4. buildToolsVersion '25.0.0'
  5. defaultConfig {
  6. applicationId "pr.platerecognization"
  7. minSdkVersion 21
  8. targetSdkVersion 26
  9. versionCode 1
  10. versionName "1.0"
  11. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  12. externalNativeBuild {
  13. cmake {
  14. cppFlags "-std=c++11 -frtti -fexceptions"
  15. abiFilters 'armeabi', 'armeabi-v7a'
  16. }
  17. }
  18. }
  19. buildTypes {
  20. release {
  21. minifyEnabled false
  22. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  23. }
  24. }
  25. externalNativeBuild {
  26. cmake {
  27. path "CMakeLists.txt"
  28. }
  29. }
  30. }
  31. dependencies {
  32. compile fileTree(include: ['*.jar'], dir: 'libs')
  33. androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
  34. exclude group: 'com.android.support', module: 'support-annotations'
  35. })
  36. compile 'com.android.support:appcompat-v7:26.+'
  37. compile 'com.android.support.constraint:constraint-layout:1.0.2'
  38. testCompile 'junit:junit:4.12'
  39. compile project(':openCVLibrary330')
  40. }