build.gradle 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. apply plugin: 'com.android.library'
  2. apply plugin: 'kotlin-android'
  3. apply plugin: 'kotlin-android-extensions'
  4. android {
  5. compileSdkVersion rootProject.compileSdkVersion
  6. buildToolsVersion "29.0.3"
  7. defaultConfig {
  8. minSdkVersion rootProject.minSdkVersion
  9. targetSdkVersion rootProject.targetSdkVersion
  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 true
  18. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  19. }
  20. staging {
  21. minifyEnabled true
  22. signingConfig debug.signingConfig
  23. }
  24. }
  25. }
  26. apply from: "$project.rootDir/scripts/deps_versions.gradle"
  27. dependencies {
  28. api project(':core_api')
  29. implementation project(':core_impl')
  30. implementation fileTree(dir: 'libs', include: ['*.jar'])
  31. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  32. implementation 'androidx.appcompat:appcompat:1.2.0'
  33. implementation 'androidx.core:core-ktx:1.3.1'
  34. testImplementation 'junit:junit:4.12'
  35. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  36. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  37. }