Skip to content

Commit

Permalink
add instruction on how to pass parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushikgopal authored and evant committed Oct 27, 2024
1 parent 6ab3df8 commit c7f7086
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ val appComponent = AppComponent::class.create()
val repo = appComponent.repo
```

## Download
## Download

Using [ksp](https://github.com/google/ksp)

Expand Down Expand Up @@ -456,7 +456,15 @@ ComponentWithoutDep::class.create().myClass.dep // Dep("default")
### Options
You can provide some additional options to the processor.
You can [pass options to the processor](https://kotlinlang.org/docs/ksp-quickstart.html#pass-options-to-processors) which enables certain functionality. You do this in the main `build.gradle.kts` file of your project. For example:
```kotlin
ksp {
arg("me.tatarka.inject.dumpGraph", "true")
}
```
The following options exist:
- `me.tatarka.inject.enableJavaxAnnotations=true`
Expand Down

0 comments on commit c7f7086

Please sign in to comment.