Skip to content

NewerVersionAvailable gradle lint preventing compilation  #152316

@reidbaker

Description

@reidbaker

Found while updating https://github.com/flutter/samples/tree/main/add_to_app/android_view but appears to be a more general issue possibly related to bumping compileSdkVersion to 35.

  /Users/reidbaker/.pub-cache/hosted/pub.dev/url_launcher_android-6.3.3/android/build.gradle:71: Error: A newer version of org.mockito:mockito-core than 5.1.1 is available: 5.12.0 [NewerVersionAvailable]
      testImplementation 'org.mockito:mockito-core:5.1.1'
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  /Users/reidbaker/.pub-cache/hosted/pub.dev/url_launcher_android-6.3.3/android/build.gradle:73: Error: A newer version of org.robolectric:robolectric than 4.10.3 is available: 4.13 [NewerVersionAvailable]
      testImplementation 'org.robolectric:robolectric:4.10.3'
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

     Explanation for issues of type "NewerVersionAvailable":
     This detector checks with a central repository to see if there are newer
     versions available for the dependencies used by this project. This is
     similar to the GradleDependency check, which checks for newer versions
     available in the Android SDK tools and libraries, but this works with any
     MavenCentral dependency, and connects to the library every time, which
     makes it more flexible but also much slower.

  2 errors, 0 warnings

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listplatform-androidAndroid applications specificallyteam-androidOwned by Android platform team‎‍platform-catalinaIssues related to macOS Catalina

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions