OSDN Git Service

b5209e6251db07006595948ae8d9ae3e4c5f4491
[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 30
7
8     defaultConfig {
9         applicationId "jp.osdn.gokigen.mangle"
10         minSdkVersion 21
11         targetSdkVersion 30
12         versionCode 1003001
13         versionName "1.3.1"
14         //testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
15     }
16
17     buildTypes {
18         release {
19             minifyEnabled false
20             proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
21         }
22     }
23     //buildFeatures {
24     //    viewBinding true
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.6.0"
37     implementation 'androidx.appcompat:appcompat:1.3.1'
38     implementation 'androidx.constraintlayout:constraintlayout:2.1.0'
39     implementation 'androidx.preference:preference-ktx:1.1.1'
40     implementation 'com.google.android.material:material:1.4.0'
41
42     def camerax_version = "1.1.0-alpha08"
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.0.0-alpha28"
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 }