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 30
7
8     defaultConfig {
9         applicationId "jp.osdn.gokigen.mangle"
10         minSdkVersion 21
11         targetSdkVersion 30
12         versionCode 1000000
13         versionName "1.0.0"
14
15         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
16     }
17
18     buildTypes {
19         release {
20             minifyEnabled false
21             proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
22         }
23     }
24
25     compileOptions {
26         sourceCompatibility JavaVersion.VERSION_1_8
27         targetCompatibility JavaVersion.VERSION_1_8
28     }
29 }
30
31 dependencies {
32     implementation fileTree(dir: "libs", include: ["*.jar"])
33     implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
34     implementation 'androidx.core:core-ktx:1.3.2'
35     implementation 'androidx.appcompat:appcompat:1.2.0'
36     implementation 'androidx.constraintlayout:constraintlayout:2.0.2'
37     implementation 'androidx.preference:preference-ktx:1.1.1'
38     implementation 'com.google.android.material:material:1.2.1'
39
40     testImplementation 'junit:junit:4.12'
41     androidTestImplementation 'androidx.test.ext:junit:1.1.2'
42     androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
43
44     def camerax_version = "1.0.0-beta10"
45     implementation "androidx.camera:camera-camera2:$camerax_version"
46     implementation "androidx.camera:camera-lifecycle:$camerax_version"
47     implementation "androidx.camera:camera-view:1.0.0-alpha17"
48 }