File tree Expand file tree Collapse file tree 5 files changed +14
-5
lines changed
src/main/kotlin/com/fluttercandies/wechat_camera_picker_demo Expand file tree Collapse file tree 5 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ if (flutterVersionName == null) {
23
23
24
24
apply plugin : ' com.android.application'
25
25
apply plugin : ' kotlin-android'
26
+ apply plugin : ' kotlin-kapt'
26
27
apply from : " $flutterRoot /packages/flutter_tools/gradle/flutter.gradle"
27
28
28
29
android {
@@ -60,4 +61,6 @@ flutter {
60
61
61
62
dependencies {
62
63
implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
64
+ implementation ' com.github.bumptech.glide:glide:4.11.0'
65
+ kapt ' com.github.bumptech.glide:compiler:4.11.0'
63
66
}
Original file line number Diff line number Diff line change
1
+ package com.fluttercandies.wechat_camera_picker_demo
2
+
3
+ import com.bumptech.glide.annotation.GlideModule
4
+ import com.bumptech.glide.module.AppGlideModule
5
+
6
+ @GlideModule
7
+ class ExampleAppGlideModule : AppGlideModule ()
Original file line number Diff line number Diff line change @@ -2,5 +2,4 @@ package com.fluttercandies.wechat_camera_picker_demo
2
2
3
3
import io.flutter.embedding.android.FlutterActivity
4
4
5
- class MainActivity : FlutterActivity () {
6
- }
5
+ class MainActivity : FlutterActivity ()
Original file line number Diff line number Diff line change 1
1
buildscript {
2
- ext. kotlin_version = ' 1.3.50 '
2
+ ext. kotlin_version = ' 1.4.21 '
3
3
repositories {
4
4
google()
5
5
jcenter()
6
6
}
7
7
8
8
dependencies {
9
- classpath ' com.android.tools.build:gradle:3.5.0 '
9
+ classpath ' com.android.tools.build:gradle:3.6.4 '
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-5 .6.2 -all.zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-6 .6.1 -all.zip
You can’t perform that action at this time.
0 commit comments