Skip to content

Commit 341cf97

Browse files
committed
Update the example app target version to 31 and JavaVersion to 1.8
1 parent 7ab23df commit 341cf97

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

app/build.gradle

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
compileSdkVersion 30
4+
compileSdkVersion 31
55
buildToolsVersion "30.0.3"
66

77
defaultConfig {
88
minSdkVersion 15
9-
targetSdkVersion 30
9+
targetSdkVersion 31
1010
versionCode 1
1111
versionName "1.0"
1212
}
@@ -16,10 +16,14 @@ android {
1616
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
1717
}
1818
}
19+
compileOptions {
20+
sourceCompatibility JavaVersion.VERSION_1_8
21+
targetCompatibility JavaVersion.VERSION_1_8
22+
}
1923
}
2024

2125
dependencies {
2226
implementation fileTree(include: ['*.jar'], dir: 'libs')
23-
implementation 'androidx.appcompat:appcompat:1.3.0'
27+
implementation 'androidx.appcompat:appcompat:1.4.1'
2428
implementation project(':reactbutton')
2529
}

0 commit comments

Comments
 (0)