-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
58 lines (49 loc) · 1.99 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
android {
compileSdkVersion androidCompileSdkVersion
defaultConfig {
applicationId 'com.snap.camerakit.sample.video'
minSdkVersion androidMinSdkVersion
targetSdkVersion androidTargetSdkVersion
versionCode cameraKitDistributionCode
versionName cameraKitDistributionVersion
manifestPlaceholders = [
'cameraKitApiToken': cameraKitApiToken
]
buildConfigField 'String', "LENS_GROUP_ID_TEST", "\"$cameraKitLensesGroupId\""
}
buildTypes {
debug {}
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.debug
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
signingConfigs {
debug {
storeFile rootProject.file('debug.keystore')
storePassword "android"
keyAlias "androiddebugkey"
keyPassword "android"
}
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
implementation "androidx.core:core-ktx:$ktxVersion"
implementation "androidx.appcompat:appcompat:$appCompatVersion"
implementation "androidx.constraintlayout:constraintlayout:$constraintLayoutVersion"
// Provides convenience Kotlin specific extensions to the public CameraKit API.
implementation "com.snap.camerakit:camerakit-kotlin:$cameraKitVersion"
// Provides an opinionated but extensible implementation that wraps
// camera as well as CameraKit Session management with a View that can be
// embedded into any Activity or Fragment where CameraKit integration is needed.
implementation "com.snap.camerakit:support-camera-layout:$cameraKitVersion"
implementation "com.snap.camerakit:lenses-bundle:$cameraKitVersion"
}