Hilt Module実装

This commit is contained in:
ろむねこ 2023-12-14 14:38:34 +09:00
parent 4ed88e8fac
commit 12cba0242b
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -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);
}