build.gradle 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'kotlin-android'
  3. apply plugin: 'kotlin-android-extensions'
  4. android {
  5. compileSdkVersion 29
  6. testOptions {
  7. unitTests.returnDefaultValues = true
  8. unitTests.all {
  9. useJUnitPlatform()
  10. }
  11. unitTests {
  12. includeAndroidResources = true
  13. }
  14. }
  15. defaultConfig {
  16. applicationId "net.folivo.android.smsGatewayServer"
  17. minSdkVersion 27
  18. targetSdkVersion 29
  19. versionCode 1
  20. versionName "1.0"
  21. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  22. }
  23. buildTypes {
  24. release {
  25. minifyEnabled false
  26. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  27. }
  28. }
  29. packagingOptions {
  30. exclude 'META-INF/*'
  31. }
  32. kotlinOptions {
  33. jvmTarget = "1.8"
  34. }
  35. }
  36. dependencies {
  37. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  38. def fragment_version = "1.3.0-alpha08"
  39. def kotest_version = "4.2.5"
  40. def activity_version = "1.2.0-alpha08"
  41. def mockk_version = "1.10.0"
  42. def ktor_version = "1.4.1"
  43. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  44. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  45. testImplementation "io.kotest:kotest-runner-junit5:$kotest_version" // for kotest framework
  46. testImplementation "io.kotest:kotest-assertions-core:$kotest_version"
  47. // for kotest core jvm assertions
  48. testImplementation "io.kotest:kotest-property:$kotest_version" // for kotest property test
  49. testImplementation "io.kotest:kotest-extensions-robolectric:4.0.1"
  50. testImplementation "io.mockk:mockk:$mockk_version"
  51. testImplementation 'androidx.test:core:1.3.0'
  52. testImplementation 'org.robolectric:robolectric:4.4'
  53. testImplementation 'junit:junit:4.13'
  54. implementation "io.ktor:ktor:$ktor_version"
  55. implementation "io.ktor:ktor-server-netty:$ktor_version"
  56. implementation "io.ktor:ktor-gson:$ktor_version"
  57. implementation "io.ktor:ktor-auth:$ktor_version"
  58. implementation "io.ktor:ktor-jackson:$ktor_version"
  59. implementation "io.ktor:ktor-network-tls-certificates:$ktor_version"
  60. implementation "io.ktor:ktor-client-cio:$ktor_version"
  61. implementation "androidx.work:work-runtime-ktx:2.4.0"
  62. implementation "androidx.activity:activity-ktx:$activity_version"
  63. implementation "androidx.fragment:fragment:$fragment_version"
  64. implementation 'androidx.core:core-ktx:1.3.2'
  65. implementation 'androidx.appcompat:appcompat:1.2.0'
  66. implementation 'androidx.constraintlayout:constraintlayout:2.0.3'
  67. implementation 'ch.qos.logback:logback-classic:1.2.3'
  68. implementation "org.jetbrains.kotlin:kotlin-stdlib:1.4.10"
  69. implementation 'com.google.android.material:material:1.2.1'
  70. }