File tree 2 files changed +9
-14
lines changed
2 files changed +9
-14
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,13 @@ apply plugin: 'kotlin-android'
3
3
apply plugin : ' kotlin-android-extensions'
4
4
5
5
android {
6
- compileSdkVersion 29
7
- buildToolsVersion " 29 .0.3 "
6
+ compileSdkVersion 31
7
+ buildToolsVersion " 31 .0.0 "
8
8
9
9
defaultConfig {
10
10
applicationId " com.hoc081098.stateflowsample"
11
11
minSdkVersion 23
12
- targetSdkVersion 29
12
+ targetSdkVersion 31
13
13
versionCode 1
14
14
versionName " 1.0"
15
15
@@ -23,20 +23,14 @@ android {
23
23
}
24
24
}
25
25
26
- // To inline the bytecode built with JVM target 1.8 into
27
- // bytecode that is being built with JVM target 1.6. (e.g. navArgs)
28
-
29
-
30
26
compileOptions {
31
- sourceCompatibility JavaVersion . VERSION_1_8
32
- targetCompatibility JavaVersion . VERSION_1_8
27
+ sourceCompatibility JavaVersion . VERSION_11
28
+ targetCompatibility JavaVersion . VERSION_11
33
29
}
34
30
kotlinOptions {
35
- jvmTarget = " 1.8"
36
- }
37
- viewBinding {
38
- enabled = true
31
+ jvmTarget = JavaVersion . VERSION_11 . toString()
39
32
}
33
+ buildFeatures { viewBinding true }
40
34
}
41
35
42
36
dependencies {
Original file line number Diff line number Diff line change 12
12
<activity
13
13
android : name =" .MainActivity"
14
14
android : label =" @string/app_name"
15
- android : theme =" @style/AppTheme" >
15
+ android : theme =" @style/AppTheme"
16
+ android : exported =" true" >
16
17
<intent-filter >
17
18
<action android : name =" android.intent.action.MAIN" />
18
19
You can’t perform that action at this time.
0 commit comments