diff --git a/uni/android/build.gradle b/uni/android/build.gradle index d2ffbffa4..6dbd54e66 100644 --- a/uni/android/build.gradle +++ b/uni/android/build.gradle @@ -3,6 +3,11 @@ allprojects { google() mavenCentral() } + + // Workaround for #1264 + tasks.withType(JavaCompile) { + options.compilerArgs << '-Xlint:-options' + } } rootProject.buildDir = "../build" diff --git a/uni/pubspec.lock b/uni/pubspec.lock index 84597c794..22937daf1 100644 --- a/uni/pubspec.lock +++ b/uni/pubspec.lock @@ -82,7 +82,7 @@ packages: source: hosted version: "2.11.0" audio_session: - dependency: "direct main" + dependency: transitive description: name: audio_session sha256: "343e83bc7809fbda2591a49e525d6b63213ade10c76f15813be9aed6657b3261" @@ -790,7 +790,7 @@ packages: source: hosted version: "6.7.1" just_audio: - dependency: "direct main" + dependency: transitive description: name: just_audio sha256: ee50602364ba83fa6308f5512dd560c713ec3e1f2bc75f0db43618f0d82ef71a diff --git a/uni/pubspec.yaml b/uni/pubspec.yaml index c865ab1b7..78942d356 100644 --- a/uni/pubspec.yaml +++ b/uni/pubspec.yaml @@ -16,7 +16,6 @@ environment: dependencies: add_2_calendar: ^3.0.1 app_links: ^3.5.1 - audio_session: ^0.1.21 battery_plus: ^5.0.2 cached_network_image: ^3.3.1 collection: ^1.16.0 @@ -48,7 +47,6 @@ dependencies: intl: ^0.19.0 json_annotation: ^4.8.1 json_serializable: ^6.7.1 - just_audio: ^0.9.39 latlong2: ^0.9.0 logger: ^2.0.2+1 material_design_icons_flutter: ^7.0.7296