Skip to content

Add an annotation for adding optional bindings#209

Merged
ansman merged 1 commit intomainfrom
feature/optional-bindings
Aug 20, 2024
Merged

Add an annotation for adding optional bindings#209
ansman merged 1 commit intomainfrom
feature/optional-bindings

Conversation

@ansman
Copy link
Owner

@ansman ansman commented Aug 17, 2024

This fixes #207

@ansman ansman force-pushed the feature/optional-bindings branch from 4ffd453 to 8ce4bce Compare August 19, 2024 23:57
@ansman ansman enabled auto-merge (squash) August 19, 2024 23:58
@ansman ansman force-pushed the feature/optional-bindings branch from 8ce4bce to d519065 Compare August 20, 2024 00:25
@ansman ansman force-pushed the feature/optional-bindings branch from d519065 to 4be393e Compare August 20, 2024 00:33
@ansman ansman merged commit 7887307 into main Aug 20, 2024
@ansman ansman deleted the feature/optional-bindings branch August 20, 2024 00:38
renovate bot referenced this pull request in sindrenm/android-project-template Aug 20, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[se.ansman.dagger.auto:compiler](https://togithub.com/ansman/auto-dagger)
| `1.2.1` -> `1.3.0` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/se.ansman.dagger.auto:compiler/1.3.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.3.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.2.1/1.3.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.2.1/1.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[se.ansman.dagger.auto:android](https://togithub.com/ansman/auto-dagger)
| `1.2.1` -> `1.3.0` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/se.ansman.dagger.auto:android/1.3.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.3.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.2.1/1.3.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.2.1/1.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>ansman/auto-dagger (se.ansman.dagger.auto:compiler)</summary>

###
[`v1.3.0`](https://togithub.com/ansman/auto-dagger/releases/tag/1.3.0)

[Compare
Source](https://togithub.com/ansman/auto-dagger/compare/1.2.1...1.3.0)

##### What's Changed

##### `OptionallyProvided`

A new annotation, `@OptionallyProvided`, has been added. This new
annotation generated `@BindsOptionalOf` bindings.

See [the
docs](https://auto-dagger.ansman.se/latest/usage/optionally-provided/)
for more info.

##### Details

- Bump androidx.lifecycle:lifecycle-viewmodel from 2.7.0 to 2.8.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/ansman/auto-dagger/pull/165](https://togithub.com/ansman/auto-dagger/pull/165)
- Bump org.robolectric:robolectric from 4.12.1 to 4.12.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/ansman/auto-dagger/pull/166](https://togithub.com/ansman/auto-dagger/pull/166)
- Bump com.android.tools.build:gradle from 8.4.0 to 8.4.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/ansman/auto-dagger/pull/167](https://togithub.com/ansman/auto-dagger/pull/167)
- Bump kotlinpoet from 1.16.0 to 1.17.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/ansman/auto-dagger/pull/170](https://togithub.com/ansman/auto-dagger/pull/170)
- Bump androidx.lifecycle:lifecycle-viewmodel from 2.8.0 to 2.8.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/ansman/auto-dagger/pull/172](https://togithub.com/ansman/auto-dagger/pull/172)
- Update Gradle Wrapper from 8.7 to 8.8 by
[@&#8203;ansman-gradle-wrapper-update](https://togithub.com/ansman-gradle-wrapper-update)
in
[https://github.com/ansman/auto-dagger/pull/173](https://togithub.com/ansman/auto-dagger/pull/173)
- Bump com.android.tools.build:gradle from 8.4.1 to 8.4.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/ansman/auto-dagger/pull/176](https://togithub.com/ansman/auto-dagger/pull/176)
- Bump androidx.lifecycle:lifecycle-viewmodel from 2.8.1 to 2.8.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/ansman/auto-dagger/pull/177](https://togithub.com/ansman/auto-dagger/pull/177)
- Bump com.android.tools.build:gradle from 8.4.2 to 8.5.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/ansman/auto-dagger/pull/178](https://togithub.com/ansman/auto-dagger/pull/178)
- Bump androidx.test:runner from 1.5.2 to 1.6.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/ansman/auto-dagger/pull/180](https://togithub.com/ansman/auto-dagger/pull/180)
- Bump androidx-test from 1.5.0 to 1.6.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/ansman/auto-dagger/pull/179](https://togithub.com/ansman/auto-dagger/pull/179)
- Bump androidx-test from 1.6.0 to 1.6.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/ansman/auto-dagger/pull/182](https://togithub.com/ansman/auto-dagger/pull/182)
- Unify the androidx-test versions by
[@&#8203;ansman](https://togithub.com/ansman) in
[https://github.com/ansman/auto-dagger/pull/183](https://togithub.com/ansman/auto-dagger/pull/183)
- Bump org.junit.jupiter:junit-jupiter from 5.10.2 to 5.10.3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/ansman/auto-dagger/pull/184](https://togithub.com/ansman/auto-dagger/pull/184)
- Bump androidx.lifecycle:lifecycle-viewmodel from 2.8.2 to 2.8.3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/ansman/auto-dagger/pull/186](https://togithub.com/ansman/auto-dagger/pull/186)
- Bump kotlinpoet from 1.17.0 to 1.18.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/ansman/auto-dagger/pull/187](https://togithub.com/ansman/auto-dagger/pull/187)
- Update Gradle Wrapper from 8.8 to 8.9 by
[@&#8203;ansman-gradle-wrapper-update](https://togithub.com/ansman-gradle-wrapper-update)
in
[https://github.com/ansman/auto-dagger/pull/191](https://togithub.com/ansman/auto-dagger/pull/191)
- Bump kotlinpoet from 1.18.0 to 1.18.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/ansman/auto-dagger/pull/194](https://togithub.com/ansman/auto-dagger/pull/194)
- Bump com.android.tools.build:gradle from 8.5.0 to 8.5.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/ansman/auto-dagger/pull/192](https://togithub.com/ansman/auto-dagger/pull/192)
- Bump org.robolectric:robolectric from 4.12.2 to 4.13 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/ansman/auto-dagger/pull/189](https://togithub.com/ansman/auto-dagger/pull/189)
- Bump org.jetbrains.kotlinx.binary-compatibility-validator from 0.14.0
to 0.16.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/ansman/auto-dagger/pull/195](https://togithub.com/ansman/auto-dagger/pull/195)
- Use a fixed license url when publishing to Maven by
[@&#8203;simonlebras](https://togithub.com/simonlebras) in
[https://github.com/ansman/auto-dagger/pull/198](https://togithub.com/ansman/auto-dagger/pull/198)
- Bump dagger from 2.51.1 to 2.52 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/ansman/auto-dagger/pull/202](https://togithub.com/ansman/auto-dagger/pull/202)
- Bump androidx.lifecycle:lifecycle-viewmodel from 2.8.3 to 2.8.4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/ansman/auto-dagger/pull/197](https://togithub.com/ansman/auto-dagger/pull/197)
- Bump com.android.tools.build:gradle from 8.5.1 to 8.5.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/ansman/auto-dagger/pull/205](https://togithub.com/ansman/auto-dagger/pull/205)
- Update Gradle Wrapper from 8.9 to 8.10 by
[@&#8203;ansman-gradle-wrapper-update](https://togithub.com/ansman-gradle-wrapper-update)
in
[https://github.com/ansman/auto-dagger/pull/208](https://togithub.com/ansman/auto-dagger/pull/208)
- Bump org.junit.jupiter:junit-jupiter from 5.10.3 to 5.11.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/ansman/auto-dagger/pull/206](https://togithub.com/ansman/auto-dagger/pull/206)
- Fail if a resource test is unexpectedly empty by
[@&#8203;ansman](https://togithub.com/ansman) in
[https://github.com/ansman/auto-dagger/pull/210](https://togithub.com/ansman/auto-dagger/pull/210)
- Add an annotation for adding optional bindings by
[@&#8203;ansman](https://togithub.com/ansman) in
[https://github.com/ansman/auto-dagger/pull/209](https://togithub.com/ansman/auto-dagger/pull/209)

##### New Contributors

- [@&#8203;simonlebras](https://togithub.com/simonlebras) made their
first contribution in
[https://github.com/ansman/auto-dagger/pull/198](https://togithub.com/ansman/auto-dagger/pull/198)

**Full Changelog**:
ansman/auto-dagger@1.2.1...1.3.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://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/sindrenm/android-project-template).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsibGlicyJdfQ==-->
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.

Add support for optional implementations

1 participant