File tree 4 files changed +27
-39
lines changed
4 files changed +27
-39
lines changed Original file line number Diff line number Diff line change @@ -30,26 +30,28 @@ if (keystorePropertiesFile.exists()) {
30
30
}
31
31
32
32
android {
33
- compileSdk = 34
33
+ namespace " com.example.example"
34
+ compileSdk 34
34
35
35
- sourceSets {
36
- main. java. srcDirs + = ' src/main/kotlin'
36
+ compileOptions {
37
+ sourceCompatibility JavaVersion . VERSION_17
38
+ targetCompatibility JavaVersion . VERSION_17
37
39
}
38
- lintOptions {
39
- disable ' InvalidPackage '
40
- checkReleaseBuilds false
40
+
41
+ kotlinOptions {
42
+ jvmTarget = ' 17 '
41
43
}
42
- compileOptions {
43
- sourceCompatibility = JavaVersion . VERSION_1_8
44
- targetCompatibility = JavaVersion . VERSION_1_8
44
+
45
+ sourceSets {
46
+ main . java . srcDirs + = ' src/main/kotlin '
45
47
}
46
48
47
49
defaultConfig {
48
- applicationId = " com.example.example"
49
- minSdk = 24
50
- targetSdk = 33
51
- versionCode = flutterVersionCode. toInteger()
52
- versionName = flutterVersionName
50
+ applicationId " com.example.example"
51
+ minSdk 24
52
+ targetSdk 34
53
+ versionCode flutterVersionCode. toInteger()
54
+ versionName flutterVersionName
53
55
}
54
56
55
57
buildTypes {
@@ -59,18 +61,11 @@ android {
59
61
signingConfig signingConfigs. debug
60
62
}
61
63
}
62
-
63
- buildFeatures {
64
- viewBinding true
65
- }
66
64
}
67
65
68
66
flutter {
69
67
source ' ../..'
70
68
}
71
69
72
70
dependencies {
73
- implementation ' androidx.appcompat:appcompat:1.4.1'
74
- implementation ' com.google.android.material:material:1.5.0'
75
71
}
76
-
Original file line number Diff line number Diff line change 1
1
allprojects {
2
2
repositories {
3
3
google()
4
- maven {
5
- url ' https://maven.google.com'
6
- }
7
- jcenter()
8
4
mavenCentral()
9
5
}
10
6
}
11
7
12
8
rootProject. buildDir = ' ../build'
13
9
subprojects {
14
10
project. buildDir = " ${ rootProject.buildDir} /${ project.name} "
15
- }
16
- subprojects {
17
11
project. evaluationDependsOn(' :app' )
18
12
}
19
13
20
14
tasks. register(" clean" , Delete ) {
21
15
delete rootProject. buildDir
22
- }
16
+ }
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-7.6.2-all .zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.6-bin .zip
Original file line number Diff line number Diff line change 1
1
pluginManagement {
2
2
def flutterSdkPath = {
3
3
def properties = new Properties ()
4
- file(" local.properties" ). withInputStream { properties. load(it) }
5
- def flutterSdkPath = properties. getProperty(" flutter.sdk" )
6
- assert flutterSdkPath != null , " flutter.sdk not set in local.properties"
4
+ file(' local.properties' ). withInputStream { properties. load(it) }
5
+ def flutterSdkPath = properties. getProperty(' flutter.sdk' )
6
+ assert flutterSdkPath != null , ' flutter.sdk not set in local.properties'
7
7
return flutterSdkPath
8
8
}()
9
9
@@ -16,10 +16,9 @@ pluginManagement {
16
16
}
17
17
}
18
18
19
- plugins {
20
- id " dev.flutter.flutter-plugin-loader" version " 1.0.0"
21
- id " com.android.application" version " 7.3.0" apply false
22
- id " org.jetbrains.kotlin.android" version " 2.0.0" apply false
23
- }
24
-
25
- include " :app"
19
+ plugins {
20
+ id ' dev.flutter.flutter-plugin-loader' version ' 1.0.0'
21
+ id ' com.android.application' version ' 8.3.1' apply false
22
+ id ' org.jetbrains.kotlin.android' version ' 1.8.22' apply false
23
+ }
24
+ include ' :app'
You can’t perform that action at this time.
0 commit comments