Gruppe 1
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.

build.gradle 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. namespace 'com.example.ueberwachungssystem'
  6. compileSdk 33
  7. defaultConfig {
  8. applicationId "com.example.ueberwachungssystem"
  9. minSdk 28
  10. targetSdk 33
  11. versionCode 1
  12. versionName "1.0"
  13. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  14. }
  15. buildTypes {
  16. release {
  17. minifyEnabled false
  18. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  19. }
  20. }
  21. compileOptions {
  22. sourceCompatibility JavaVersion.VERSION_1_8
  23. targetCompatibility JavaVersion.VERSION_1_8
  24. }
  25. buildFeatures {
  26. viewBinding true
  27. }
  28. }
  29. dependencies {
  30. implementation 'androidx.appcompat:appcompat:1.6.1'
  31. implementation 'com.google.android.material:material:1.8.0'
  32. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  33. implementation 'com.google.android.gms:play-services-nearby:18.0.0'
  34. testImplementation 'junit:junit:4.13.2'
  35. androidTestImplementation 'androidx.test.ext:junit:1.1.5'
  36. androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
  37. // OpenCV (from: https://github.com/QuickBirdEng/opencv-android)
  38. def opencv_version = "4.5.3.0"
  39. implementation "com.quickbirdstudios:opencv:${opencv_version}"
  40. implementation "androidx.lifecycle:lifecycle-extensions:2.0.0"
  41. // Required for CameraX
  42. def camerax_version = "1.2.2"
  43. implementation "androidx.camera:camera-core:${camerax_version}"
  44. implementation "androidx.camera:camera-camera2:${camerax_version}"
  45. implementation "androidx.camera:camera-lifecycle:${camerax_version}"
  46. implementation "androidx.camera:camera-video:${camerax_version}"
  47. implementation "androidx.camera:camera-view:${camerax_version}"
  48. implementation "androidx.camera:camera-extensions:${camerax_version}"
  49. }