build.gradle 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. plugins {
  2. id 'com.android.library'
  3. id 'kotlin-android'
  4. }
  5. android {
  6. compileSdkVersion 30
  7. buildToolsVersion "30.0.3"
  8. defaultConfig {
  9. minSdkVersion 22
  10. targetSdkVersion 30
  11. versionCode 1
  12. versionName "1.0"
  13. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  14. consumerProguardFiles "consumer-rules.pro"
  15. }
  16. buildTypes {
  17. release {
  18. minifyEnabled false
  19. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  20. }
  21. }
  22. compileOptions {
  23. sourceCompatibility JavaVersion.VERSION_1_8
  24. targetCompatibility JavaVersion.VERSION_1_8
  25. }
  26. kotlinOptions {
  27. jvmTarget = '1.8'
  28. }
  29. buildFeatures {
  30. viewBinding true
  31. }
  32. }
  33. dependencies {
  34. implementation project(':sdklibrary')
  35. implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
  36. implementation 'androidx.core:core-ktx:1.3.2'
  37. implementation 'androidx.appcompat:appcompat:1.2.0'
  38. implementation 'com.google.android.material:material:1.2.1'
  39. testImplementation 'junit:junit:4.+'
  40. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  41. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  42. }