github getsentry/sentry-android-gradle-plugin 4.1.0

latest releases: 4.11.0, 4.11.0-alpha.1, 4.10.0...
9 months ago

Features

  • Do not consider user-defined sentry versions when auto-installing integrations. This is necessary because we want to align integrations versions to the same one as one of sentry-android-core/sentry/sentry-android/sentry-spring-boot to prevent runtime crashes due to binary incompatibility. (#602)
    • If you have directly defined one of the core versions, we will use that to install integrations, otherwise autoInstallation.sentryVersion or the default bundled SDK version is used.

This means if you have defined something like that:

// direct deps
dependencies {
  implementation("io.sentry:sentry-android-core:7.0.0")
  implementation("io.sentry:sentry-android-okhttp:6.34.0")
}

// or with the gradle plugin
sentry {
  autoInstallation.sentryVersion = '7.0.0' // or the latest version bundled within the plugin
}

dependencies {
  implementation("io.sentry:sentry-android-okhttp:6.34.0")
}

Then in both cases it will use 7.0.0 when installing the sentry-android-okhttp integration and print a warning that we have overridden the version.

  • Add aarch64 sentry-cli (#611)

    • This is used when the build is executed inside a docker container on an Apple silicon chip (e.g. M1)
  • Instrument ContentProvider/Application onCreate calls to measure app-start performance (#565)

    • This feature requires the sentry-java SDK version 7.1.0 and is enabled by default
    • To disable the feature, set sentry.tracingInstrumentation.appStart.enabled to false
sentry {
  tracingInstrumentation {
    appStart {
      enabled.set(false)
    }
  }
}

Fixes

  • Fix sentry-cli url parameter position (#610)

Dependencies

Don't miss a new sentry-android-gradle-plugin release

NewReleases is sending notifications on new releases.