mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 19:47:36 +00:00
Hilt Module実装
This commit is contained in:
1 file changed
+13
-1
@@ -1,4 +1,16 @@
|
||||
package one.nem.lacerta.source.jgit.module;
|
||||
|
||||
public class ManageRepoModule {
|
||||
import dagger.Binds;
|
||||
import dagger.Module;
|
||||
import dagger.hilt.InstallIn;
|
||||
import dagger.hilt.components.SingletonComponent;
|
||||
import one.nem.lacerta.source.jgit.ManageRepo;
|
||||
import one.nem.lacerta.source.jgit.impl.ManageRepoImpl;
|
||||
|
||||
@Module
|
||||
@InstallIn(SingletonComponent.class)
|
||||
abstract public class ManageRepoModule {
|
||||
|
||||
@Binds
|
||||
public abstract ManageRepo bindManageRepo(ManageRepoImpl manageRepoImpl);
|
||||
}
|
||||
Reference in new issue
Block a user