[swing-base] Clock cannot be provided without an @Provides-annotated method
While kapt is creating the Dagger Java classes, it fails with this. Happening on branch swing-base, where I try to get running @sebkur's Briar Swing client in a clean project with briar as a submodule. Here's the corresponding BriarSwingApp class.
e: /home/briar/Documents/briar-desktop-legacy/build/tmp/kapt3/stubs/main/org/briarproject/briar/swing/BriarSwingApp.java:14: error: [Dagger/MissingBinding] org.briarproject.bramble.api.system.Clock cannot be provided without an @Provides-annotated method.
public abstract interface BriarSwingApp extends org.briarproject.bramble.BrambleCoreEagerSingletons, org.briarproject.briar.BriarCoreEagerSingletons {
^
org.briarproject.bramble.api.system.Clock is injected at
org.briarproject.bramble.properties.PropertiesModule.getValidator(…, clock)
org.briarproject.bramble.properties.TransportPropertyValidator is injected at
org.briarproject.bramble.properties.PropertiesModule.EagerSingletons.transportPropertyValidator
org.briarproject.bramble.properties.PropertiesModule.EagerSingletons is injected at
org.briarproject.bramble.BrambleCoreEagerSingletons.inject(org.briarproject.bramble.properties.PropertiesModule.EagerSingletons)
It is also requested at:
org.briarproject.bramble.cleanup.CleanupManagerImpl(…, clock)
org.briarproject.bramble.contact.ContactExchangeManagerImpl(…, clock, …)
org.briarproject.bramble.contact.PendingContactFactoryImpl(…, clock)
org.briarproject.bramble.crypto.ScryptKdf(clock)
org.briarproject.bramble.db.DatabaseModule.provideDatabase(…, clock)
org.briarproject.bramble.identity.IdentityManagerImpl(…, clock)
org.briarproject.bramble.plugin.PollerImpl(…, clock)
org.briarproject.bramble.plugin.tor.UnixTorPluginFactory(…, clock, …)
org.briarproject.bramble.properties.TransportPropertyManagerImpl(…, clock)
org.briarproject.bramble.rendezvous.RendezvousPollerImpl(…, clock)
and 24 others
The following other entry points also depend on it:
org.briarproject.briar.swing.BriarSwingApp.getUI()
org.briarproject.briar.swing.BriarSwingApp.getSecureRandom()
org.briarproject.bramble.BrambleCoreEagerSingletons.inject(org.briarproject.bramble.cleanup.CleanupModule.EagerSingletons) [org.briarproject.briar.swing.BriarSwingApp]
org.briarproject.bramble.BrambleCoreEagerSingletons.inject(org.briarproject.bramble.contact.ContactModule.EagerSingletons) [org.briarproject.briar.swing.BriarSwingApp]
org.briarproject.bramble.BrambleCoreEagerSingletons.inject(org.briarproject.bramble.crypto.CryptoExecutorModule.EagerSingletons) [org.briarproject.briar.swing.BriarSwingApp]
org.briarproject.bramble.BrambleCoreEagerSingletons.inject(org.briarproject.bramble.db.DatabaseExecutorModule.EagerSingletons) [org.briarproject.briar.swing.BriarSwingApp]
org.briarproject.bramble.BrambleCoreEagerSingletons.inject(org.briarproject.bramble.identity.IdentityModule.EagerSingletons) [org.briarproject.briar.swing.BriarSwingApp]
org.briarproject.bramble.BrambleCoreEagerSingletons.inject(org.briarproject.bramble.lifecycle.LifecycleModule.EagerSingletons) [org.briarproject.briar.swing.BriarSwingApp]
org.briarproject.bramble.BrambleCoreEagerSingletons.inject(org.briarproject.bramble.plugin.PluginModule.EagerSingletons) [org.briarproject.briar.swing.BriarSwingApp]
org.briarproject.bramble.BrambleCoreEagerSingletons.inject(org.briarproject.bramble.rendezvous.RendezvousModule.EagerSingletons) [org.briarproject.briar.swing.BriarSwingApp]
and 15 others