Skip to content

Commit a21af1b

Browse files
committed
Bump SDK and tooling
- SdkVersion 31 - ndkVersion 23.1.7779620 - Kotlin 1.5.30 - Gradle 7.0.2
1 parent 992fc05 commit a21af1b

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

android/app/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ if (keystorePropertiesFile.exists()) {
3232
}
3333

3434
android {
35-
compileSdkVersion 30
35+
compileSdkVersion 31
3636

3737
sourceSets {
3838
main.java.srcDirs += 'src/main/kotlin'
@@ -46,7 +46,7 @@ android {
4646
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
4747
applicationId "be.martinelli.miniflutt"
4848
minSdkVersion 19
49-
targetSdkVersion 30
49+
targetSdkVersion 31
5050
versionCode flutterVersionCode.toInteger()
5151
versionName flutterVersionName
5252
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -72,7 +72,7 @@ android {
7272
}
7373
}
7474

75-
ndkVersion "23.0.7272597"
75+
ndkVersion "23.1.7779620"
7676
}
7777

7878
flutter {

android/app/src/main/AndroidManifest.xml

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
android:launchMode="singleTop"
1515
android:theme="@style/LaunchTheme"
1616
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
17+
android:exported="true"
1718
android:hardwareAccelerated="true"
1819
android:windowSoftInputMode="adjustResize">
1920
<intent-filter>

android/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
buildscript {
2-
ext.kotlin_version = '1.3.50'
2+
ext.kotlin_version = '1.5.30'
33
repositories {
44
google()
55
jcenter()
66
}
77

88
dependencies {
9-
classpath 'com.android.tools.build:gradle:4.1.0'
9+
classpath 'com.android.tools.build:gradle:7.0.2'
1010
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1111
}
1212
}

android/gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip

0 commit comments

Comments
 (0)