diff --git a/analysis_options.yaml b/analysis_options.yaml index 6b54c54..a948add 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -35,7 +35,6 @@ analyzer: # Ignore analyzer hints for updating pubspecs when using Future or # Stream and not importing dart:async # Please see https://github.com/flutter/flutter/pull/24528 for details. - sdk_version_async_exported_from_core: ignore exclude: - "bin/cache/**" # the following two are relative to the stocks example and the flutter package respectively diff --git a/example/android/build.gradle b/example/android/build.gradle index 58a8c74..cc1d40f 100644 --- a/example/android/build.gradle +++ b/example/android/build.gradle @@ -26,6 +26,6 @@ subprojects { project.evaluationDependsOn(':app') } -task clean(type: Delete) { - delete rootProject.buildDir +tasks.register("clean", Delete) { + delete rootProject.layout.buildDirectory } diff --git a/pubspec.yaml b/pubspec.yaml index d349bec..180f366 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -19,7 +19,7 @@ environment: dependencies: flutter: sdk: flutter - flutter_pdfview: ">=1.0.0 <2.0.0" + flutter_pdfview: ">=1.4.3 <4.0.0" flutter_cache_manager: ">=3.0.0 <4.0.0" path_provider: ">=2.0.0 <3.0.0" path: ">=1.0.0 <2.0.0" @@ -27,4 +27,4 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter -flutter: +flutter: \ No newline at end of file