build.gradle 1.1 KB

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