build.gradle 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 26
  4. defaultConfig {
  5. minSdkVersion 18
  6. targetSdkVersion 26
  7. versionCode 1
  8. versionName "2.6"
  9. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  10. ndk {
  11. abiFilters "armeabi-v7a", "arm64-v8a", "x86", "mips"
  12. }
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  18. }
  19. }
  20. // uncomment these lines to compile so files
  21. // externalNativeBuild {
  22. // ndkBuild {
  23. // path 'src/main/cpp/Android.mk'
  24. // }
  25. // }
  26. }
  27. dependencies {
  28. implementation fileTree(dir: 'libx264.libs', include: ['*.jar'])
  29. androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
  30. exclude group: 'com.android.support', module: 'support-annotations'
  31. })
  32. implementation 'com.android.support:appcompat-v7:26.1.0'
  33. testImplementation 'junit:junit:4.12'
  34. }