Skip to content

Commit 920059b

Browse files
Update Dagger to v1.4.0 (#211)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [se.ansman.dagger.auto:compiler](https://redirect.github.com/ansman/auto-dagger) | `1.3.0` -> `1.4.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/se.ansman.dagger.auto:compiler/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/se.ansman.dagger.auto:compiler/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/se.ansman.dagger.auto:compiler/1.3.0/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/se.ansman.dagger.auto:compiler/1.3.0/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [se.ansman.dagger.auto:android](https://redirect.github.com/ansman/auto-dagger) | `1.3.0` -> `1.4.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/se.ansman.dagger.auto:android/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/se.ansman.dagger.auto:android/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/se.ansman.dagger.auto:android/1.3.0/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/se.ansman.dagger.auto:android/1.3.0/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>ansman/auto-dagger (se.ansman.dagger.auto:compiler)</summary> ### [`v1.4.0`](https://redirect.github.com/ansman/auto-dagger/releases/tag/1.4.0) [Compare Source](https://redirect.github.com/ansman/auto-dagger/compare/1.3.0...1.4.0) ##### New features ##### Kotlin 2.0 auto-dagger now uses 2.0.20 and KSP 2.0.20-1.0.25. K2/KSP2 is however not supported yet due to Dagger not supporting K2/KSP2. ##### Min SDK 21 The AndroidX libraries now require a minimum SDK version of 21. This matches what AndroidX now requires. ##### `@Generated` annotation All generated types now add the `@Generated` annotation. This means that you must target Java 9 or higher to use auto-dagger. ##### Bug fixes ##### Fix a bug with room processing If your Room database class contained anything except Daos, auto-dagger would incorrectly generate providers for them and if the return type was generic, then the class would fail to process. This has been fixed and only Daos will be provided. ##### Details - Bump androidx.lifecycle:lifecycle-viewmodel from 2.8.4 to 2.8.5 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [https://github.com/ansman/auto-dagger/pull/216](https://redirect.github.com/ansman/auto-dagger/pull/216) - Bump com.android.tools.build:gradle from 8.5.2 to 8.6.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [https://github.com/ansman/auto-dagger/pull/214](https://redirect.github.com/ansman/auto-dagger/pull/214) - Update Gradle Wrapper from 8.10 to 8.10.1 by [@&#8203;ansman-gradle-wrapper-update](https://redirect.github.com/ansman-gradle-wrapper-update) in [https://github.com/ansman/auto-dagger/pull/218](https://redirect.github.com/ansman/auto-dagger/pull/218) - Bump com.squareup.okio:okio from 3.9.0 to 3.9.1 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [https://github.com/ansman/auto-dagger/pull/219](https://redirect.github.com/ansman/auto-dagger/pull/219) - Bump com.android.tools.build:gradle from 8.6.0 to 8.6.1 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [https://github.com/ansman/auto-dagger/pull/220](https://redirect.github.com/ansman/auto-dagger/pull/220) - Bump androidx.lifecycle:lifecycle-viewmodel from 2.8.5 to 2.8.6 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [https://github.com/ansman/auto-dagger/pull/222](https://redirect.github.com/ansman/auto-dagger/pull/222) - Downgrade to Gradle 8.10 by [@&#8203;ansman](https://redirect.github.com/ansman) in [https://github.com/ansman/auto-dagger/pull/226](https://redirect.github.com/ansman/auto-dagger/pull/226) - Update android min SDK to 21 by [@&#8203;ansman](https://redirect.github.com/ansman) in [https://github.com/ansman/auto-dagger/pull/228](https://redirect.github.com/ansman/auto-dagger/pull/228) - Bump androidx.startup:startup-runtime from 1.1.1 to 1.2.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [https://github.com/ansman/auto-dagger/pull/223](https://redirect.github.com/ansman/auto-dagger/pull/223) - Update to Kotlin 2.0.20 by [@&#8203;ansman](https://redirect.github.com/ansman) in [https://github.com/ansman/auto-dagger/pull/227](https://redirect.github.com/ansman/auto-dagger/pull/227) - Add `@Generated` to all generated classes by [@&#8203;ansman](https://redirect.github.com/ansman) in [https://github.com/ansman/auto-dagger/pull/225](https://redirect.github.com/ansman/auto-dagger/pull/225) - Fix processing RoomDatabases with non dao functions and properties by [@&#8203;ansman](https://redirect.github.com/ansman) in [https://github.com/ansman/auto-dagger/pull/229](https://redirect.github.com/ansman/auto-dagger/pull/229) **Full Changelog**: ansman/auto-dagger@1.3.0...1.4.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/sindrenm/android-project-template). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsibGlicyJdfQ==-->
2 parents 0e3e676 + 9bf7cd0 commit 920059b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ androidx-lifecycle = "2.8.6"
66
androidx-navigation = "2.8.1"
77
arrow = "1.2.4"
88
dagger = "2.52"
9-
dagger-auto = "1.3.0"
9+
dagger-auto = "1.4.0"
1010
kotlin = "2.0.20"
1111
kotlinx-coroutines = "1.9.0"
1212

0 commit comments

Comments
 (0)