build.gradle 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 30
  4. buildToolsVersion "30.0.3"
  5. defaultConfig {
  6. minSdkVersion 19
  7. targetSdkVersion 30
  8. versionCode 1
  9. versionName "1.0"
  10. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  11. consumerProguardFiles 'consumer-rules.pro'
  12. javaCompileOptions {
  13. annotationProcessorOptions { includeCompileClasspath = true }
  14. }
  15. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  16. }
  17. buildTypes {
  18. release {
  19. minifyEnabled false
  20. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  21. }
  22. }
  23. compileOptions {
  24. sourceCompatibility JavaVersion.VERSION_1_8
  25. targetCompatibility JavaVersion.VERSION_1_8
  26. }
  27. }
  28. dependencies {
  29. implementation fileTree(dir: 'libs', include: ['*.jar'])
  30. implementation 'androidx.appcompat:appcompat:1.0.2'
  31. testImplementation 'junit:junit:4.12'
  32. androidTestImplementation 'androidx.test.ext:junit:1.1.0'
  33. androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
  34. implementation project(path: ':appbase')
  35. implementation project(path: ':commonutils')
  36. annotationProcessor 'org.projectlombok:lombok:1.18.16'
  37. }