Releases: getsentry/sentry-android-gradle-plugin
Releases · getsentry/sentry-android-gradle-plugin
4.6.0
4.5.1
4.5.0
4.4.1
4.4.0
4.3.1
Fixes
- Do not pollute build classpath with groovy dependencies (#660)
- Do not execute
minifyWithR8
task when running tests withisIncludeAndroidResources
enabled (#662) - Make tasks with reproducible inputs Cacheable (#664)
SentryGenerateIntegrationListTask
SentryGenerateDebugMetaPropertiesTask
GenerateBundleIdTask
SentryGenerateProguardUuidTask
Dependencies
4.3.0
Fixes
- Bundle ASM version within the plugin and bump it to
9.4
(#637)- This should fix the
java.lang.AssertionError: Class with incorrect id found
exception when usingkotlinx.serialization
- This should fix the
- Fall back to
findTask
ifassembleProvider
of AndroidVariant is null when hooking source bundle and native symbols upload tasks (#639) - Hook source context tasks to also run after
install{Variant}
tasks (#643) - Do not run sentry-cli commands if telemetry is disabled (#648)
- Proguard and source context tasks don't run on every build (#634)
- Proguard UUID task now depends on the proguard mapping file. I.e. it will only run if the mapping file has changed
- Source context tasks now depend on source file changes, if there are no source changes, the tasks won't run
Dependencies
4.2.0
Features
- Consider
sentry-bom
version when auto-installing integrations and the SDK (#625)
Fixes
- Support Room kotlin codegen (#630)
- Make sentry-cli path calculation configuration-cache compatible (#631)
- This will prevent build from failing when e.g. switching branches with stale configuration cache
- Fix
FacebookInitProvider
instrumentation (#633)
Dependencies
4.1.1
4.1.0
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.
- If you have directly defined one of the core versions, we will use that to install integrations, otherwise
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 version7.1.0
and is enabled by default - To disable the feature, set
sentry.tracingInstrumentation.appStart.enabled
tofalse
- This feature requires the
sentry {
tracingInstrumentation {
appStart {
enabled.set(false)
}
}
}
Fixes
- Fix sentry-cli url parameter position (#610)