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.3KB

1 year ago
1 year ago
1 year ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. compileSdk 33
  6. defaultConfig {
  7. applicationId "com.example.greenwatch"
  8. minSdk 23
  9. targetSdk 33
  10. versionCode 1
  11. versionName "1.0"
  12. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  18. }
  19. }
  20. compileOptions {
  21. sourceCompatibility JavaVersion.VERSION_1_8
  22. targetCompatibility JavaVersion.VERSION_1_8
  23. }
  24. namespace 'com.example.greenwatch'
  25. }
  26. dependencies {
  27. implementation 'androidx.appcompat:appcompat:1.6.1'
  28. implementation 'com.google.android.material:material:1.9.0'
  29. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  30. testImplementation 'junit:junit:4.13.2'
  31. androidTestImplementation 'androidx.test.ext:junit:1.1.5'
  32. androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
  33. def camerax_version = "1.2.3"
  34. implementation "androidx.camera:camera-camera2:${camerax_version}"
  35. implementation "androidx.camera:camera-lifecycle:${camerax_version}"
  36. implementation "androidx.camera:camera-view:${camerax_version}"
  37. }