Android app module for Zeichen.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

65 lines
2.1 KiB

  1. plugins {
  2. id 'com.android.application'
  3. id 'kotlin-android'
  4. }
  5. android {
  6. compileSdk 30
  7. buildToolsVersion "30.0.3"
  8. defaultConfig {
  9. applicationId "sh.modal.apps.zeichen"
  10. minSdk 21
  11. targetSdk 30
  12. versionCode 1
  13. versionName "1.0"
  14. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  15. vectorDrawables {
  16. useSupportLibrary true
  17. }
  18. }
  19. buildTypes {
  20. release {
  21. minifyEnabled false
  22. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  23. }
  24. }
  25. compileOptions {
  26. sourceCompatibility JavaVersion.VERSION_1_8
  27. targetCompatibility JavaVersion.VERSION_1_8
  28. }
  29. kotlinOptions {
  30. jvmTarget = '1.8'
  31. useIR = true
  32. }
  33. buildFeatures {
  34. compose true
  35. }
  36. composeOptions {
  37. kotlinCompilerExtensionVersion compose_version
  38. kotlinCompilerVersion '1.4.32'
  39. }
  40. }
  41. dependencies {
  42. implementation 'androidx.core:core-ktx:1.6.0'
  43. implementation 'androidx.appcompat:appcompat:1.3.0'
  44. implementation 'com.google.android.material:material:1.4.0'
  45. implementation "androidx.compose.foundation:foundation:$compose_version"
  46. implementation "androidx.compose.ui:ui:$compose_version"
  47. implementation "androidx.compose.material:material:$compose_version"
  48. implementation "androidx.compose.material:material-icons-core:$compose_version"
  49. implementation "androidx.compose.material:material-icons-extended:$compose_version"
  50. implementation "androidx.compose.runtime:runtime-livedata:$compose_version"
  51. implementation "androidx.compose.runtime:runtime-rxjava2:$compose_version"
  52. implementation "androidx.compose.ui:ui-tooling:$compose_version"
  53. implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.3.1'
  54. implementation 'androidx.activity:activity-compose:1.3.0-alpha06'
  55. testImplementation 'junit:junit:4.+'
  56. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  57. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  58. androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
  59. }