Newer
Older
IrisClient / app / build.gradle
  1. plugins {
  2. id 'com.android.application'
  3. }
  4.  
  5. android {
  6. compileSdk 30
  7.  
  8. defaultConfig {
  9. applicationId "org.ntlab.irisclient"
  10. minSdk 28
  11. targetSdk 30
  12. versionCode 1
  13. versionName "1.0"
  14.  
  15. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  16. }
  17.  
  18. buildTypes {
  19. release {
  20. minifyEnabled false
  21. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  22. }
  23. }
  24. compileOptions {
  25. sourceCompatibility JavaVersion.VERSION_1_8
  26. targetCompatibility JavaVersion.VERSION_1_8
  27. }
  28. buildFeatures {
  29. viewBinding true
  30. }
  31. }
  32.  
  33. dependencies {
  34.  
  35. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  36.  
  37.  
  38. // 各 2021/11/23 時点の最新版
  39. // Retrofit
  40. implementation "com.squareup.retrofit2:retrofit:2.9.0"
  41. implementation "com.squareup.retrofit2:converter-moshi:2.9.0"
  42.  
  43. implementation 'com.squareup.retrofit2:converter-jackson:2.5.0'
  44. implementation 'com.squareup.retrofit2:converter-scalars:2.1.0'
  45.  
  46.  
  47. // Moshi
  48. implementation "com.squareup.moshi:moshi:1.12.0"
  49. implementation "com.squareup.moshi:moshi-kotlin:1.12.0"
  50.  
  51. implementation 'androidx.appcompat:appcompat:1.3.1'
  52. implementation 'com.google.android.material:material:1.4.0'
  53. implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
  54. implementation 'androidx.navigation:navigation-fragment:2.3.5'
  55. implementation 'androidx.navigation:navigation-ui:2.3.5'
  56. implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.3.1'
  57. implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1'
  58. implementation 'androidx.annotation:annotation:1.2.0'
  59. implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
  60. implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
  61. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  62. testImplementation 'junit:junit:4.+'
  63. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  64. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  65. implementation 'com.github.bumptech.glide:glide:4.10.0'
  66. annotationProcessor 'com.github.bumptech.glide:compiler:4.10.0'
  67. implementation 'com.google.android.material:material:1.1.0-alpha08'
  68. implementation 'androidx.viewpager2:viewpager2:1.0.0-beta02'
  69.  
  70. }