build.gradle 916 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. plugins {
  2. id 'com.android.library'
  3. id 'org.jetbrains.kotlin.android'
  4. }
  5. android {
  6. compileSdk 31
  7. defaultConfig {
  8. minSdk 21
  9. targetSdk 27
  10. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  11. consumerProguardFiles "consumer-rules.pro"
  12. }
  13. buildTypes {
  14. release {
  15. minifyEnabled false
  16. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  17. }
  18. }
  19. compileOptions {
  20. sourceCompatibility JavaVersion.VERSION_1_8
  21. targetCompatibility JavaVersion.VERSION_1_8
  22. }
  23. kotlinOptions {
  24. jvmTarget = '1.8'
  25. }
  26. viewBinding {
  27. enabled = true
  28. }
  29. }
  30. dependencies {
  31. api 'androidx.core:core-ktx:1.6.0'
  32. api 'androidx.appcompat:appcompat:1.3.0'
  33. api 'com.google.android.material:material:1.4.0'
  34. api project(path: ':libThirdParty')
  35. }