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.

49 lines
1.4 KiB

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