build.gradle 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. apply plugin: 'com.android.application'
  2. //apply plugin: 'com.hujiang.android-aspectjx'
  3. android {
  4. compileSdkVersion versions.compileSdk
  5. buildToolsVersion versions.buildTools
  6. defaultConfig {
  7. applicationId "com.miekir.newmvp"
  8. minSdkVersion versions.minSdk
  9. targetSdkVersion versions.targetSdk
  10. versionCode 1
  11. versionName "1.0"
  12. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  18. }
  19. }
  20. compileOptions {
  21. sourceCompatibility JavaVersion.VERSION_1_8
  22. targetCompatibility JavaVersion.VERSION_1_8
  23. }
  24. }
  25. dependencies {
  26. implementation fileTree(dir: 'libs', include: ['*.jar'])
  27. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  28. testImplementation 'junit:junit:4.12'
  29. androidTestImplementation 'androidx.test.ext:junit:1.1.0'
  30. androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
  31. implementation project(path: ':common')
  32. implementation project(path: ':mvp')
  33. // compile 'org.aspectj:aspectjrt:1.8.+'
  34. }
  35. //aspectjx {
  36. // exclude "android.support",'androidx','com.google','com.squareup.leakcanary','com.squareup.leakcanary.core','com.alipay','org.apache','com.tencent'
  37. //}