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

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. }
  25. dependencies {
  26. implementation 'androidx.appcompat:appcompat:1.6.1'
  27. implementation 'com.google.android.material:material:1.9.0'
  28. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  29. testImplementation 'junit:junit:4.13.2'
  30. androidTestImplementation 'androidx.test.ext:junit:1.1.5'
  31. androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
  32. def camerax_version = "1.2.3"
  33. implementation "androidx.camera:camera-camera2:${camerax_version}"
  34. implementation "androidx.camera:camera-lifecycle:${camerax_version}"
  35. implementation "androidx.camera:camera-view:${camerax_version}"
  36. }