build.gradle 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. // namespace 'redant.usai.com.apexmap'
  6. compileSdk 34
  7. defaultConfig {
  8. minSdk 28
  9. targetSdkVersion 34
  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) {
  28. // options.compilerArgs << "-Xlint:deprecation"
  29. // options.compilerArgs << "-Xlint:unchecked"
  30. }
  31. }
  32. }
  33. dependencies {
  34. implementation fileTree(dir: 'libs', include: ['*.jar'])
  35. implementation 'androidx.appcompat:appcompat:1.6.1'
  36. // testImplementation 'junit:junit:4.12'
  37. // androidTestImplementation 'com.android.support.test:runner:1.0.2'
  38. // androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  39. api 'org.osmdroid:osmdroid-android:6.1.17'
  40. }