forked from LuckSiege/PictureSelector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
44 lines (37 loc) · 1.19 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
plugins {
id 'com.android.library'
}
android {
compileSdkVersion 31
defaultConfig {
minSdkVersion 21
targetSdkVersion 31
versionCode cfgs.versionCode
versionName cfgs.versionName
consumerProguardFiles "consumer-rules.pro"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
ext {
PUBLISH_ARTIFACT_ID = "camerax"
}
apply from: '../publish.gradle'
dependencies {
def camerax_version = "1.2.1"
api "androidx.camera:camera-core:${camerax_version}"
api "androidx.camera:camera-camera2:${camerax_version}"
implementation "androidx.camera:camera-view:${camerax_version}"
implementation "androidx.camera:camera-lifecycle:${camerax_version}"
implementation "androidx.appcompat:appcompat:${cfgs.version_appcompat}"
implementation "androidx.transition:transition:${cfgs.transition}"
implementation "androidx.concurrent:concurrent-futures:${cfgs.futures}"
}