build.gradle 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. }
  30. dependencies {
  31. implementation project(':sdklibrary')
  32. implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
  33. implementation 'androidx.core:core-ktx:1.3.2'
  34. implementation 'androidx.appcompat:appcompat:1.2.0'
  35. implementation 'com.google.android.material:material:1.2.1'
  36. implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  37. testImplementation 'junit:junit:4.+'
  38. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  39. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  40. }