An open API service indexing awesome lists of open source software.

https://github.com/arunkumar9t2/dagger-spi-issue


https://github.com/arunkumar9t2/dagger-spi-issue

Last synced: over 1 year ago
JSON representation

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
```