File tree Expand file tree Collapse file tree 3 files changed +19
-11
lines changed Expand file tree Collapse file tree 3 files changed +19
-11
lines changed Original file line number Diff line number Diff line change @@ -27,24 +27,32 @@ apply plugin: 'kotlin-kapt'
27
27
apply from : " $flutterRoot /packages/flutter_tools/gradle/flutter.gradle"
28
28
29
29
android {
30
- compileSdkVersion 33
30
+ namespace " com.fluttercandies.wechatCameraPickerExample"
31
+
32
+ compileSdkVersion 34
31
33
32
34
sourceSets {
33
35
main. java. srcDirs + = ' src/main/kotlin'
34
36
}
35
37
36
- lintOptions {
37
- disable ' InvalidPackage'
38
- }
39
-
40
38
defaultConfig {
41
39
applicationId " com.fluttercandies.wechatCameraPickerExample"
42
40
minSdkVersion 21
43
- targetSdkVersion 33
41
+ targetSdkVersion 34
44
42
versionCode flutterVersionCode. toInteger()
45
43
versionName flutterVersionName
46
44
}
47
45
46
+ kotlinOptions {
47
+ jvmTarget = ' 17'
48
+ }
49
+
50
+ compileOptions {
51
+ // Sets Java compatibility to Java 17
52
+ sourceCompatibility JavaVersion . VERSION_17
53
+ targetCompatibility JavaVersion . VERSION_17
54
+ }
55
+
48
56
signingConfigs {
49
57
forAll {
50
58
storeFile file(" ${ rootDir.absolutePath} /key.jks" )
@@ -72,6 +80,6 @@ flutter {
72
80
}
73
81
74
82
dependencies {
75
- implementation ' com.github.bumptech.glide:glide:4.11 .0'
76
- kapt ' com.github.bumptech.glide:compiler:4.11 .0'
83
+ implementation ' com.github.bumptech.glide:glide:4.15 .0'
84
+ kapt ' com.github.bumptech.glide:compiler:4.15 .0'
77
85
}
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.9.20 '
3
3
repositories {
4
4
google()
5
5
mavenCentral()
6
6
}
7
7
8
8
dependencies {
9
- classpath ' com.android.tools.build:gradle:7.0.3 '
9
+ classpath ' com.android.tools.build:gradle:8.2.2 '
10
10
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
11
11
}
12
12
}
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.3.3-all .zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.2.1-bin .zip
You can’t perform that action at this time.
0 commit comments