build.gradle 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. compileSdk 31
  6. defaultConfig {
  7. applicationId "com.example.jhpapp"
  8. minSdk 22
  9. targetSdk 31
  10. versionCode 4
  11. versionName "2.8"
  12. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  13. ndk { abiFilters "armeabi","armeabi-v7a","x86"}
  14. }
  15. lintOptions {
  16. checkReleaseBuilds false
  17. abortOnError false
  18. }
  19. useLibrary 'org.apache.http.legacy'
  20. buildTypes {
  21. release {
  22. minifyEnabled false
  23. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  24. }
  25. }
  26. compileOptions {
  27. sourceCompatibility JavaVersion.VERSION_1_8
  28. targetCompatibility JavaVersion.VERSION_1_8
  29. }
  30. }
  31. dependencies {
  32. implementation fileTree(dir: 'libs', include: ['*.jar'])
  33. implementation 'com.google.android.exoplayer:exoplayer:2.15.0'
  34. implementation 'androidx.appcompat:appcompat:1.2.0'
  35. implementation 'com.google.android.material:material:1.3.0'
  36. implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  37. implementation files('src\\main\\jniLibs\\jna.jar')
  38. implementation files('src\\main\\jniLibs\\jna-platform.jar')
  39. implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.7'
  40. testImplementation 'junit:junit:4.+'
  41. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  42. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  43. }