Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit e1dd896

Browse files
committed
Bump version and move dependencies block
1 parent d740409 commit e1dd896

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

packages/camera/camera_android_camerax/android/build.gradle

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,6 @@ android {
3636
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
3737
}
3838

39-
dependencies {
40-
// CameraX core library using the camera2 implementation must use same version number.
41-
def camerax_version = "1.2.0-beta02"
42-
implementation "androidx.camera:camera-core:${camerax_version}"
43-
implementation "androidx.camera:camera-camera2:${camerax_version}"
44-
implementation "androidx.camera:camera-lifecycle:${camerax_version}"
45-
implementation 'com.google.guava:guava:28.1-android'
46-
testImplementation 'junit:junit:4.13.2'
47-
testImplementation 'org.mockito:mockito-inline:4.7.0'
48-
testImplementation 'androidx.test:core:1.4.0'
49-
testImplementation 'org.robolectric:robolectric:4.3'
50-
}
5139
testOptions {
5240
unitTests.includeAndroidResources = true
5341
unitTests.returnDefaultValues = true
@@ -60,3 +48,16 @@ dependencies {
6048
}
6149
}
6250
}
51+
52+
dependencies {
53+
// CameraX core library using the camera2 implementation must use same version number.
54+
def camerax_version = "1.2.0-beta02"
55+
implementation "androidx.camera:camera-core:${camerax_version}"
56+
implementation "androidx.camera:camera-camera2:${camerax_version}"
57+
implementation "androidx.camera:camera-lifecycle:${camerax_version}"
58+
implementation 'com.google.guava:guava:28.1-android'
59+
testImplementation 'junit:junit:4.13.2'
60+
testImplementation 'org.mockito:mockito-inline:4.7.0'
61+
testImplementation 'androidx.test:core:1.4.0'
62+
testImplementation 'org.robolectric:robolectric:4.8'
63+
}

0 commit comments

Comments
 (0)