Skip to content

Commit

Permalink
Build: Update dagger to 2.46.1
Browse files Browse the repository at this point in the history
This change is necessary because otherwise the build fails with the
below exception:

------------------------------------------------------------------------

> Task :mediapicker:kaptDebugKotlin FAILED
Annotation processors discovery from compile classpath is deprecated.
Set 'kapt.include.compile.classpath=false' to disable discovery.
Run the build with '--info' for more details.

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':mediapicker:source-gif:kaptDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.gradle
 .internal.KaptWithoutKotlincTask$KaptExecutionWorkAction
   > java.lang.reflect.InvocationTargetException (no error message)

------------------------------------------------------------------------

FYI: This Dagger update is relatively safe as it is only about couple of
bug fixes:
- [2.46]: https://github.com/google/dagger/releases/tag/dagger-2.46
  - Fixed #3701 and #3838. Updated Dagger to kotlinx metadata 0.6.0.
    (7cf53031)
- [2.46.1]: https://github.com/google/dagger/releases/tag/dagger-2.46.1
  - Fixed #3701: Shade kotlinx metadata in Dagger's artifacts to prevent
    upstream dependency issues. (d593e01)
  • Loading branch information
ParaskP7 committed Jul 5, 2024
1 parent bac8aa3 commit faf0aa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pluginManagement {
gradle.ext.kotlinVersion = '1.9.22'
gradle.ext.daggerVersion = '2.45'
gradle.ext.daggerVersion = '2.46.1'
gradle.ext.agpVersion = '8.1.0'
gradle.ext.detektVersion = '1.19.0'
gradle.ext.automatticPublishToS3Version = '0.8.0'
Expand Down

0 comments on commit faf0aa0

Please sign in to comment.