build.gradle 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. // namespace 'redant.usai.com.apexmap'
  6. compileSdk = 36
  7. defaultConfig {
  8. minSdk = 28
  9. targetSdk = 36
  10. // testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled false
  15. // proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  16. }
  17. }
  18. compileOptions {
  19. sourceCompatibility JavaVersion.VERSION_11
  20. targetCompatibility JavaVersion.VERSION_11
  21. }
  22. buildFeatures {
  23. viewBinding = true
  24. }
  25. namespace = 'redant.usai.com.apexmap'
  26. gradle.projectsEvaluated {
  27. tasks.withType(JavaCompile).tap {
  28. configureEach {
  29. options.compilerArgs << "-Xlint:deprecation"
  30. options.compilerArgs << "-Xlint:unchecked"
  31. }
  32. }
  33. }
  34. }
  35. dependencies {
  36. implementation fileTree(dir: 'libs', include: ['*.jar'])
  37. // implementation 'androidx.appcompat:appcompat:1.6.1'
  38. implementation 'androidx.appcompat:appcompat:1.7.0'
  39. // api 'org.osmdroid:osmdroid-android:6.1.17'
  40. api 'org.osmdroid:osmdroid-android:6.1.20'
  41. }