Skip to content

Conversation

@ansman
Copy link
Owner

@ansman ansman commented Sep 21, 2024

This fixes #224

@ansman ansman enabled auto-merge (squash) September 21, 2024 19:55
@ansman ansman merged commit 1d404fb into main Sep 21, 2024
2 checks passed
@ansman ansman deleted the fix/224/room-db-processing branch September 21, 2024 19:57
renovate bot referenced this pull request in sindrenm/android-project-template Sep 21, 2024
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==-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RoomDatabase is failed to be processed

1 participant