TWiStErRob / net.twisterrob.inventory

Magic Home Inventory https://play.google.com/store/apps/details?id=net.twisterrob.inventory
https://www.twisterrob.net/project/inventory/
20 stars 1 forks source link

Hide "warning: The following options were not recognized by any processor" #304

Open TWiStErRob opened 1 year ago

TWiStErRob commented 1 year ago

Workaround is to generate this file in each module so that Dagger and Hilt are activated:

// Workaround for https://youtrack.jetbrains.com/issue/KT-46940.
@dagger.Module
@dagger.hilt.InstallIn(dagger.hilt.components.SingletonComponent::class)
object SatisfyKaptByUsingDaggerAndHilt
TWiStErRob commented 1 year ago

Let's wait until K2 to do this. Maybe KAPT3 fixes this.