Browse Source

flutter配置添加

huyuguo 5 years ago
parent
commit
91d946ab3e
2 changed files with 8 additions and 5 deletions
  1. 5 4
      app/build.gradle
  2. 3 1
      settings.gradle

+ 5 - 4
app/build.gradle

@ -24,10 +24,10 @@ android {
24 24
    aaptOptions.cruncherEnabled = false
25 25
    aaptOptions.useNewCruncher = false
26 26
27
//    compileOptions {
28
//        sourceCompatibility JavaVersion.VERSION_1_8
29
//        targetCompatibility JavaVersion.VERSION_1_8
30
//    }
27
    compileOptions {
28
        sourceCompatibility JavaVersion.VERSION_1_8
29
        targetCompatibility JavaVersion.VERSION_1_8
30
    }
31 31
32 32
    defaultConfig {
33 33
        applicationId "com.electric.chargingpile"
@ -171,6 +171,7 @@ dependencies {
171 171
    implementation project(':zxing')
172 172
    implementation project(':XRefreshView')
173 173
    implementation project(':videolibrary:picture_library')
174
//    implementation project(':flutter')
174 175
//    compile 'com.google.zxing:core:+'
175 176
//    compile 'com.google.zxing:android-core:+'
176 177

+ 3 - 1
settings.gradle

@ -1,2 +1,4 @@
1 1
include ':app', ':autolayout', ':zxing', ':XRefreshView',':library'
2
include ':videolibrary:picture_library', ':videolibrary:SmallVideoLib2'
2
include ':videolibrary:picture_library', ':videolibrary:SmallVideoLib2'
3
//setBinding(new Binding([gradle: this]))
4
//evaluate(new File(settingsDir.parentFile, 'flutter_module_question_answer/.android/include_flutter.groovy'))