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.

45 lines
1.2 KiB

  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. compileOnly fileTree(dir: 'libs', include: ['*.jar'])
  25. compileOnly fileTree(dir: '../app/libs', include: ['uniapp-v8-release.aar'])
  26. compileOnly 'androidx.recyclerview:recyclerview:1.0.0'
  27. compileOnly 'androidx.legacy:legacy-support-v4:1.0.0'
  28. compileOnly 'androidx.appcompat:appcompat:1.0.0'
  29. implementation 'com.alibaba:fastjson:1.1.46.android'
  30. implementation 'com.facebook.fresco:fresco:1.13.0'
  31. /*implementation 'com.android.support:appcompat-v7:28.0.0'
  32. testImplementation 'junit:junit:4.12'
  33. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  34. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'*/
  35. }