https://github.com/arunkumar9t2/dagger-spi-issue
https://github.com/arunkumar9t2/dagger-spi-issue
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/arunkumar9t2/dagger-spi-issue
- Owner: arunkumar9t2
- Created: 2022-07-12T20:25:54.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-12T20:27:19.000Z (almost 4 years ago)
- Last Synced: 2025-01-23T04:32:02.109Z (over 1 year ago)
- Language: Kotlin
- Size: 95.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Dagger SPI Plugin Issue Repro
SPI plugins are not called since 2.40 unless hilt's `enableAggregatingTask` is manually disabled
* `enableAggregatingTask` = `true`
```bash
./gradlew kaptDebugKotlin --rerun-tasks
> Task :app:kaptDebugKotlin
Visiting :dev.arunkumar.dagger.Sword_HiltComponents.SingletonC
BUILD SUCCESSFUL in 8s
20 actionable tasks: 20 executed
```
* `enableAggregatingTask` = `false`
```bash
./gradlew kaptDebugKotlin --rerun-tasks
> Task :app:kaptDebugKotlin
warning: The following options were not recognized by any processor: '[dagger.fastInit, kapt.kotlin.generated]'
BUILD SUCCESSFUL in 7s
20 actionable tasks: 20 executed
```