OSDN Git Service

cameraxのバージョンを変更。
[gokigen/mangle.git] / app / build.gradle
1 apply plugin: 'com.android.application'
2 apply plugin: 'kotlin-android'
3 //apply plugin: 'kotlin-android-extensions'
4
5 android {
6     compileSdkVersion 33
7     defaultConfig {
8         applicationId "jp.osdn.gokigen.mangle"
9         minSdkVersion 21
10         targetSdkVersion 33
11         versionCode 1006005
12         versionName "1.6.5"
13         //testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
14     }
15
16     buildTypes {
17         release {
18             minifyEnabled false
19             proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
20         }
21     }
22     //buildFeatures {
23     //    //viewBinding true
24     //    viewBinding false
25     //}
26
27     compileOptions {
28         sourceCompatibility JavaVersion.VERSION_17
29         targetCompatibility JavaVersion.VERSION_17
30     }
31     namespace 'jp.osdn.gokigen.mangle'
32 }
33
34 dependencies {
35     implementation fileTree(dir: "libs", include: ["*.jar"])
36     implementation 'androidx.exifinterface:exifinterface:1.3.6'
37     implementation "androidx.core:core-ktx:1.10.0"
38     implementation 'androidx.appcompat:appcompat:1.6.1'
39     implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
40     implementation 'androidx.preference:preference-ktx:1.2.0'
41     implementation 'com.google.android.material:material:1.8.0'
42     implementation "androidx.core:core-splashscreen:1.0.1"
43
44     def camerax_version = "1.3.0-alpha06"
45     implementation "androidx.camera:camera-core:$camerax_version"
46     implementation "androidx.camera:camera-camera2:$camerax_version"
47     implementation "androidx.camera:camera-lifecycle:$camerax_version"
48
49     def camerax_view_version = "1.3.0-alpha06"
50     implementation "androidx.camera:camera-extensions:$camerax_view_version"
51     implementation "androidx.camera:camera-view:$camerax_view_version"
52
53     implementation "androidx.datastore:datastore-preferences:1.0.0"
54 }