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

57 lines
1.7 KiB

  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 28
  4. defaultConfig {
  5. minSdkVersion 16
  6. targetSdkVersion 26
  7. versionCode 1
  8. versionName "1.0"
  9. testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
  10. ndk {
  11. abiFilters "armeabi", "armeabi-v7a"
  12. }
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  18. }
  19. }
  20. }
  21. repositories {
  22. flatDir {
  23. dirs 'libs'
  24. }
  25. }
  26. dependencies {
  27. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  28. implementation project(path: ':uniplugin_module')
  29. compileOnly fileTree(dir: 'libs', include: ['*.jar'])
  30. compileOnly fileTree(dir: '../app/libs', include: ['uniapp-v8-release.aar'])
  31. compileOnly 'androidx.recyclerview:recyclerview:1.0.0'
  32. compileOnly 'androidx.legacy:legacy-support-v4:1.0.0'
  33. compileOnly 'androidx.appcompat:appcompat:1.0.0'
  34. implementation 'com.alibaba:fastjson:1.1.46.android'
  35. implementation 'com.facebook.fresco:fresco:1.13.0'
  36. /*implementation 'com.android.support:appcompat-v7:28.0.0'
  37. testImplementation 'junit:junit:4.12'
  38. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  39. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'*/
  40. // 腾讯mqtt
  41. // implementation 'com.tencent.iot.hub:hub-device-android:3.3.5'
  42. //腾讯liveSDK
  43. implementation 'com.tencent.liteav:LiteAVSDK_UGC:latest.release'
  44. implementation project(path: ':ugckit')
  45. }