1
1
apply plugin : " com.android.library"
2
2
apply plugin : " kotlin-android"
3
- apply plugin : " kotlin-android-extensions"
4
3
apply plugin : " com.diffplug.spotless"
5
4
apply plugin : " maven-publish"
6
5
7
6
android {
8
- compileSdkVersion 29
9
- buildToolsVersion " 30.0.0 "
7
+ compileSdkVersion 30
8
+ buildToolsVersion " 30.0.3 "
10
9
11
10
defaultConfig {
12
11
13
12
minSdkVersion 23
14
- targetSdkVersion 29
13
+ targetSdkVersion 30
15
14
versionCode project. property(" version_code" ). toInteger()
16
15
versionName project. property(" version_name" ) as String
17
16
@@ -33,38 +32,45 @@ android {
33
32
proguardFiles getDefaultProguardFile(" proguard-android-optimize.txt" ), " proguard-rules.pro"
34
33
}
35
34
}
35
+
36
+ buildFeatures {
37
+ viewBinding true
38
+ }
36
39
}
37
40
38
41
dependencies {
39
42
implementation fileTree(dir : " libs" , include : [" *.jar" ])
40
43
implementation " org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version "
41
- implementation " androidx.core:core-ktx:1.3.0 "
42
- implementation " androidx.appcompat:appcompat:1.1 .0"
44
+ implementation " androidx.core:core-ktx:1.3.2 "
45
+ implementation " androidx.appcompat:appcompat:1.2 .0"
43
46
api " com.github.kuamanet:android-native-opencv:0.1"
44
47
// ViewModel
45
- api " androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0 "
48
+ api " androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1 "
46
49
// LiveData
47
- api " androidx.lifecycle:lifecycle-livedata-ktx:2.2.0 "
50
+ api " androidx.lifecycle:lifecycle-livedata-ktx:2.3.1 "
48
51
// Lifecycles only (without ViewModel or LiveData)
49
- api " androidx.lifecycle:lifecycle-runtime-ktx:2.2.0 "
52
+ api " androidx.lifecycle:lifecycle-runtime-ktx:2.3.1 "
50
53
51
- api " androidx.activity:activity-ktx:1.1.0"
54
+ implementation " androidx.activity:activity-ktx:1.2.2"
55
+ implementation " androidx.fragment:fragment-ktx:1.3.3"
52
56
53
57
// CameraX core library using camera2 implementation
54
- implementation " androidx.camera:camera-camera2:1.1.0-alpha02 "
58
+ implementation " androidx.camera:camera-camera2:1.1.0-alpha04 "
55
59
// CameraX Lifecycle Library
56
- implementation " androidx.camera:camera-lifecycle:1.1.0-alpha02 "
60
+ implementation " androidx.camera:camera-lifecycle:1.1.0-alpha04 "
57
61
// CameraX View class
58
- implementation " androidx.camera:camera-view:1.0.0-alpha22 "
62
+ implementation " androidx.camera:camera-view:1.0.0-alpha24 "
59
63
60
64
// zoomable image view
61
65
implementation " com.github.chrisbanes:PhotoView:2.3.0"
62
- implementation ' com.google.android.material:material:1.1.0'
63
- implementation ' androidx.constraintlayout:constraintlayout:1.1.3'
66
+ implementation ' com.google.android.material:material:1.3.0'
67
+ implementation ' androidx.constraintlayout:constraintlayout:2.0.4'
68
+
69
+ implementation " androidx.exifinterface:exifinterface:1.3.2"
64
70
65
- testImplementation " junit:junit:4.13"
66
- androidTestImplementation " androidx.test.ext:junit:1.1.1 "
67
- androidTestImplementation " androidx.test.espresso:espresso-core:3.2 .0"
71
+ testImplementation " junit:junit:4.13.2 "
72
+ androidTestImplementation " androidx.test.ext:junit:1.1.2 "
73
+ androidTestImplementation " androidx.test.espresso:espresso-core:3.3 .0"
68
74
69
75
}
70
76
0 commit comments