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 rootProject.compileSdkVersion
  7. buildToolsVersion "29.0.3"
  8. defaultConfig {
  9. minSdkVersion rootProject.minSdkVersion
  10. targetSdkVersion rootProject.targetSdkVersion
  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. }
  23. apply from: "$project.rootDir/scripts/deps_versions.gradle"
  24. dependencies {
  25. api project(':core_api')
  26. implementation dagger
  27. kapt daggerCompiler
  28. implementation room
  29. implementation fileTree(dir: 'libs', include: ['*.jar'])
  30. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  31. implementation 'androidx.appcompat:appcompat:1.2.0'
  32. implementation 'androidx.core:core-ktx:1.3.1'
  33. testImplementation 'junit:junit:4.12'
  34. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  35. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  36. }