File tree Expand file tree Collapse file tree 5 files changed +7
-8
lines changed
Expand file tree Collapse file tree 5 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ apply plugin: 'kotlin-kapt'
2727apply from : " $flutterRoot /packages/flutter_tools/gradle/flutter.gradle"
2828
2929android {
30- compileSdkVersion 30
30+ compileSdkVersion 31
3131
3232 sourceSets {
3333 main. java. srcDirs + = ' src/main/kotlin'
@@ -41,7 +41,7 @@ android {
4141 // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
4242 applicationId " com.fluttercandies.wechat_camera_picker_demo"
4343 minSdkVersion 21
44- targetSdkVersion 30
44+ targetSdkVersion 31
4545 versionCode flutterVersionCode. toInteger()
4646 versionName flutterVersionName
4747 }
@@ -60,7 +60,6 @@ flutter {
6060}
6161
6262dependencies {
63- implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
6463 implementation ' com.github.bumptech.glide:glide:4.11.0'
6564 kapt ' com.github.bumptech.glide:compiler:4.11.0'
6665}
Original file line number Diff line number Diff line change 1818 android : theme =" @style/LaunchTheme"
1919 android : configChanges =" orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
2020 android : hardwareAccelerated =" true"
21- android : windowSoftInputMode =" adjustResize" >
21+ android : windowSoftInputMode =" adjustResize"
22+ android : exported =" true" >
2223 <!-- Specifies an Android theme to apply to this Activity as soon as
2324 the Android process has started. This theme is visible to the user
2425 while the Flutter UI initializes. After that, this theme continues
Original file line number Diff line number Diff line change 11buildscript {
2- ext. kotlin_version = ' 1.5.21 '
2+ ext. kotlin_version = ' 1.6.0 '
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}
Original file line number Diff line number Diff line change 11org.gradle.jvmargs =-Xmx1536M
2- android.enableR8 =true
32android.useAndroidX =true
43android.enableJetifier =true
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33distributionPath =wrapper/dists
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
6- distributionUrl =https\://services.gradle.org/distributions/gradle-6.8.3 -all.zip
6+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.3.1 -all.zip
You can’t perform that action at this time.
0 commit comments