File tree Expand file tree Collapse file tree 4 files changed +12
-9
lines changed Expand file tree Collapse file tree 4 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,9 @@ apply plugin: 'kotlin-android'
26
26
apply from : " $flutterRoot /packages/flutter_tools/gradle/flutter.gradle"
27
27
28
28
android {
29
- compileSdkVersion 31
29
+ namespace " com.example.example"
30
+
31
+ compileSdkVersion 33
30
32
31
33
sourceSets {
32
34
main. java. srcDirs + = ' src/main/kotlin'
@@ -36,7 +38,7 @@ android {
36
38
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
37
39
applicationId " com.example.example"
38
40
minSdkVersion 21
39
- targetSdkVersion 30
41
+ targetSdkVersion 33
40
42
versionCode flutterVersionCode. toInteger()
41
43
versionName flutterVersionName
42
44
}
Original file line number Diff line number Diff line change 9
9
android : theme =" @style/LaunchTheme"
10
10
android : configChanges =" orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
11
11
android : hardwareAccelerated =" true"
12
- android : windowSoftInputMode =" adjustResize" >
12
+ android : windowSoftInputMode =" adjustResize"
13
+ android : exported =" true" >
13
14
<!-- Specifies an Android theme to apply to this Activity as soon as
14
15
the Android process has started. This theme is visible to the user
15
16
while the Flutter UI initializes. After that, this theme continues
Original file line number Diff line number Diff line change 1
1
buildscript {
2
- ext. kotlin_version = ' 1.6.10 '
2
+ ext. kotlin_version = ' 1.7.22 '
3
3
repositories {
4
4
google()
5
- jcenter ()
5
+ mavenCentral ()
6
6
}
7
7
8
8
dependencies {
9
- classpath ' com.android.tools.build:gradle:4.1.0 '
9
+ classpath ' com.android.tools.build:gradle:7.4.2 '
10
10
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
11
11
}
12
12
}
13
13
14
14
allprojects {
15
15
repositories {
16
16
google()
17
- jcenter ()
17
+ mavenCentral ()
18
18
}
19
19
}
20
20
@@ -24,6 +24,6 @@ subprojects {
24
24
project. evaluationDependsOn(' :app' )
25
25
}
26
26
27
- task clean ( type : Delete ) {
27
+ tasks . register( " clean " , Delete ) {
28
28
delete rootProject. buildDir
29
29
}
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-6.7 -all.zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.6.2 -all.zip
You can’t perform that action at this time.
0 commit comments