build.gradle 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. apply plugin: 'com.android.library'
  2. apply plugin: 'kotlin-android'
  3. apply plugin: 'kotlin-android-extensions'
  4. apply plugin: 'kotlin-kapt'
  5. android {
  6. compileSdkVersion 30
  7. resourcePrefix "uxsdk_"
  8. defaultConfig {
  9. minSdkVersion 24
  10. targetSdkVersion 30
  11. versionCode 1
  12. versionName "1.0"
  13. }
  14. compileOptions {
  15. sourceCompatibility JavaVersion.VERSION_1_8
  16. targetCompatibility JavaVersion.VERSION_1_8
  17. }
  18. kotlinOptions{
  19. jvmTarget = JavaVersion.VERSION_1_8
  20. }
  21. }
  22. dependencies {
  23. implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
  24. implementation 'androidx.core:core-ktx:1.2.0'
  25. implementation 'androidx.appcompat:appcompat:1.1.0'
  26. implementation 'com.google.android.material:material:1.1.0'
  27. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  28. testImplementation 'junit:junit:4.+'
  29. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  30. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  31. implementation "com.dji:dji-sdk-v5-aircraft:5.3.0"
  32. implementation "com.dji:dji-sdk-v5-networkImp:5.3.0"
  33. compileOnly "com.dji:dji-sdk-v5-aircraft-provided:5.3.0"
  34. implementation 'com.squareup.okio:okio:1.15.0'
  35. implementation 'com.squareup.wire:wire-runtime:2.2.0'
  36. implementation 'com.airbnb.android:lottie:3.3.1'
  37. }