Skip to content

Commit

Permalink
More doc tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacSweers committed Oct 24, 2024
1 parent b22c228 commit 711e56d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
--------------

- **Enhancement**: Improve error messaging for error types used as annotation arguments.
- **Enhancement**: Initial support for javax.jakarta annotations. Note that Dagger itself appears to only partially support these at the moment. Generated code is identical, but jakarta `@Inject`/`@Qualifier`/`@Scope` annotations should be recognized now.
- **Enhancement**: Initial support for jakarta.inject annotations. Note that Dagger itself appears to only partially support these at the moment. Generated code is identical, but jakarta `@Inject`/`@Qualifier`/`@Scope` annotations should be recognized now.
- Update Dagger to `2.52`.

0.3.3
Expand Down
9 changes: 8 additions & 1 deletion FORK.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ contributing subcomponents.
## Blockers

Before trying to use KSP component merging, check this issue to see if any of the issues
listed there affect you: https://github.com/ZacSweers/anvil/issues/16.
listed there affect you: https://github.com/ZacSweers/anvil/issues/16. KSP1 is fully supported, KSP2 may have upstream blockers while it's in beta.

## Installation

Expand All @@ -30,12 +30,19 @@ The fork's gradle plugin will automatically substitute any annotations dependenc

Latest version can be found here: https://github.com/ZacSweers/anvil/releases

## Features

- K2-compatible
- Full KSP support + improved error messaging
- `jakarta.inject` annotations support

## Migration

### 0. Prerequisites

- You must be using Kotlin 1.9.24+ or 2.0.0+.
- You must use `-Xjvm-default=all` or `-Xjvm-default=all-compatibility` if you are not already.
- KSP does not support Android variants, so if you rely on `variantFilter` it will no longer work.

### 1. KSP Contributions

Expand Down

0 comments on commit 711e56d

Please sign in to comment.