build.gradle 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. buildPython "/usr/bin/python3"
  21. }
  22. packagingOptions {
  23. exclude 'META-INF/NOTICE.md'
  24. }
  25. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  26. buildTypes {
  27. release {
  28. minifyEnabled false
  29. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  30. }
  31. }
  32. compileOptions {
  33. sourceCompatibility JavaVersion.VERSION_1_8
  34. targetCompatibility JavaVersion.VERSION_1_8
  35. }
  36. }
  37. }
  38. dependencies {
  39. //implementation 'com.android.support:cardview-v7:28.0.0'
  40. //implementation 'com.android.support:appcompat-v7:28.0.0'
  41. //implementation 'com.android.support:appcompat-v7:18.0.+'
  42. implementation 'androidx.appcompat:appcompat:1.2.0'
  43. implementation 'com.google.android.material:material:1.3.0'
  44. implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  45. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  46. implementation 'androidx.navigation:navigation-fragment:2.3.5'
  47. implementation 'androidx.navigation:navigation-ui:2.3.5'
  48. implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.3.1'
  49. implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1'
  50. implementation 'androidx.recyclerview:recyclerview:1.2.0'
  51. testImplementation 'junit:junit:4.+'
  52. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  53. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  54. }