build.gradle 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. namespace 'plus.common'
  6. compileSdk 32
  7. defaultConfig {
  8. applicationId "plus.common"
  9. minSdk 21
  10. targetSdk 32
  11. versionCode 1
  12. versionName "1.0"
  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. configurations.all {
  26. resolutionStrategy {
  27. // don't cache changing modules at all
  28. cacheChangingModulesFor 10, 'seconds'
  29. }
  30. }
  31. dependencies {
  32. implementation 'androidx.appcompat:appcompat:1.4.1'
  33. implementation 'com.google.android.material:material:1.5.0'
  34. testImplementation 'junit:junit:4.13.2'
  35. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  36. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  37. // implementation("com.squareup.okhttp3:okhttp:4.10.0")
  38. }