build.gradle 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. plugins {
  2. id 'com.android.application'
  3. id 'com.chaquo.python'
  4. }
  5. android {
  6. // legacy flags
  7. aaptOptions.cruncherEnabled = false
  8. aaptOptions.useNewCruncher = false
  9. compileSdkVersion 30
  10. defaultConfig {
  11. applicationId "com.noahvogt.miniprojekt"
  12. minSdkVersion 16
  13. targetSdkVersion 30
  14. versionCode 1
  15. versionName "1.0"
  16. ndk {
  17. abiFilters "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
  18. }
  19. python {
  20. pip {
  21. //install "email"
  22. //install "imaplib"
  23. }
  24. buildPython "/usr/bin/python3.8"
  25. }
  26. packagingOptions {
  27. exclude 'META-INF/NOTICE.md'
  28. }
  29. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  30. buildTypes {
  31. release {
  32. minifyEnabled false
  33. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  34. }
  35. }
  36. compileOptions {
  37. sourceCompatibility JavaVersion.VERSION_1_8
  38. targetCompatibility JavaVersion.VERSION_1_8
  39. }
  40. }
  41. }
  42. dependencies {
  43. //implementation 'com.android.support:cardview-v7:28.0.0'
  44. //implementation 'com.android.support:appcompat-v7:28.0.0'
  45. //implementation 'com.android.support:appcompat-v7:18.0.+'
  46. implementation 'androidx.appcompat:appcompat:1.2.0'
  47. implementation 'com.google.android.material:material:1.3.0'
  48. implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  49. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  50. implementation 'androidx.navigation:navigation-fragment:2.3.5'
  51. implementation 'androidx.navigation:navigation-ui:2.3.5'
  52. implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.3.1'
  53. implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1'
  54. implementation 'androidx.recyclerview:recyclerview:1.2.0'
  55. implementation 'androidx.preference:preference:1.1.1'
  56. testImplementation 'junit:junit:4.+'
  57. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  58. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  59. }