build.gradle 668 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 28
  4. defaultConfig {
  5. minSdkVersion 15
  6. targetSdkVersion 26
  7. versionCode 1
  8. versionName "1.0"
  9. }
  10. buildTypes {
  11. release {
  12. minifyEnabled true
  13. shrinkResources false
  14. proguardFiles 'proguard-rules.pro'
  15. }
  16. }
  17. dependencies {
  18. implementation fileTree(dir: 'libs', include: ['*.jar'])
  19. }
  20. }
  21. android.libraryVariants.all { variant ->
  22. variant.outputs.all {
  23. outputFileName = 'hnqj-release-1.0.8.aar'
  24. }
  25. }
  26. dependencies {
  27. implementation 'com.android.support:support-v4:28.0.0'
  28. }