build.gradle 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. // legacy flags
  6. aaptOptions.cruncherEnabled = false
  7. aaptOptions.useNewCruncher = false
  8. compileSdkVersion 30
  9. defaultConfig {
  10. applicationId "com.noahvogt.miniprojekt"
  11. minSdkVersion 16
  12. targetSdkVersion 30
  13. versionCode 1
  14. versionName "1.0"
  15. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  16. }
  17. buildTypes {
  18. release {
  19. minifyEnabled false
  20. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  21. }
  22. }
  23. compileOptions {
  24. sourceCompatibility JavaVersion.VERSION_1_8
  25. targetCompatibility JavaVersion.VERSION_1_8
  26. }
  27. }
  28. dependencies {
  29. implementation 'androidx.appcompat:appcompat:1.2.0'
  30. implementation 'com.google.android.material:material:1.3.0'
  31. implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  32. implementation 'androidx.navigation:navigation-fragment:2.2.2'
  33. implementation 'androidx.navigation:navigation-ui:2.2.2'
  34. implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.2.0'
  35. implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0'
  36. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  37. testImplementation 'junit:junit:4.+'
  38. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  39. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  40. }