Selaa lähdekoodia

Add compileOptions for video_player >= 0.8.0

Those are added to new flutter projects as well
Ben Hagen 6 vuotta sitten
vanhempi
commit
fa828558be
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 5 0
      example/android/app/build.gradle

+ 5 - 0
example/android/app/build.gradle

@@ -17,6 +17,11 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
 android {
     compileSdkVersion 27
 
+    compileOptions {
+        sourceCompatibility 1.8
+        targetCompatibility 1.8
+    }
+
     lintOptions {
         disable 'InvalidPackage'
     }