build.gradle 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 34
  4. defaultConfig {
  5. minSdkVersion 21
  6. targetSdkVersion 34
  7. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  8. ndk {
  9. abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86_64', 'x86'
  10. }
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled false
  15. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  16. }
  17. }
  18. compileOptions {
  19. sourceCompatibility JavaVersion.VERSION_1_8
  20. targetCompatibility JavaVersion.VERSION_1_8
  21. }
  22. namespace 'cn.wildfirechat.uni.pttclient'
  23. }
  24. repositories {
  25. flatDir {
  26. dirs 'libs'
  27. }
  28. }
  29. dependencies {
  30. implementation fileTree(dir: 'libs', include: ['*.jar'])
  31. implementation project(path: ':uni-client-module')
  32. compileOnly 'com.alibaba:fastjson:1.2.83'
  33. compileOnly fileTree(include: ['uniapp-v8-release.aar'], dir: '../app/libs')
  34. compileOnly project(":client")
  35. api project(":pttclient")
  36. }