OSDN Git Service

内蔵カメラの向きを適切に表示できるようにした。
[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 32
7     defaultConfig {
8         applicationId "jp.osdn.gokigen.mangle"
9         minSdkVersion 21
10         targetSdkVersion 32
11         versionCode 1006001
12         versionName "1.6.1"
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_1_8
29         targetCompatibility JavaVersion.VERSION_1_8
30     }
31 }
32
33 dependencies {
34     implementation fileTree(dir: "libs", include: ["*.jar"])
35     implementation 'androidx.exifinterface:exifinterface:1.3.3'
36     implementation "androidx.core:core-ktx:1.7.0"
37     implementation 'androidx.appcompat:appcompat:1.4.1'
38     implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
39     implementation 'androidx.preference:preference-ktx:1.2.0'
40     implementation 'com.google.android.material:material:1.5.0'
41
42     def camerax_version = "1.1.0-beta01"
43     implementation "androidx.camera:camera-core:$camerax_version"
44     implementation "androidx.camera:camera-camera2:$camerax_version"
45     implementation "androidx.camera:camera-lifecycle:$camerax_version"
46
47     def camerax_view_version = "1.1.0-beta01"
48     implementation "androidx.camera:camera-extensions:$camerax_view_version"
49     implementation "androidx.camera:camera-view:$camerax_view_version"
50
51     implementation "androidx.datastore:datastore-preferences:1.0.0"
52 }