diff --git a/utils/build.gradle b/utils/build.gradle index e253eff6..db7197a6 100644 --- a/utils/build.gradle +++ b/utils/build.gradle @@ -36,4 +36,6 @@ dependencies { // Hilt implementation libs.com.google.dagger.hilt.android annotationProcessor libs.com.google.dagger.hilt.compiler + + // } \ No newline at end of file diff --git a/utils/src/main/java/oen/nem/lacerta/utils/impl/UtilsImpl.java b/utils/src/main/java/oen/nem/lacerta/utils/impl/FileUtilsImpl.java similarity index 78% rename from utils/src/main/java/oen/nem/lacerta/utils/impl/UtilsImpl.java rename to utils/src/main/java/oen/nem/lacerta/utils/impl/FileUtilsImpl.java index a0854ff3..d67a9104 100644 --- a/utils/src/main/java/oen/nem/lacerta/utils/impl/UtilsImpl.java +++ b/utils/src/main/java/oen/nem/lacerta/utils/impl/FileUtilsImpl.java @@ -8,14 +8,15 @@ import java.util.Objects; import javax.inject.Inject; import dagger.hilt.android.qualifiers.ApplicationContext; -import one.nem.lacerta.data.utils.UtilsRepo; -public class UtilsImpl implements UtilsRepo{ +import oen.nem.lacerta.utils.repository.FileUtils; + +public class FileUtilsImpl implements FileUtils { private final Context applicationContext; @Inject - public UtilsImpl(@ApplicationContext Context applicationContext) { + public FileUtilsImpl(@ApplicationContext Context applicationContext) { this.applicationContext = applicationContext; } diff --git a/utils/src/main/java/oen/nem/lacerta/utils/module/UtilsModule.java b/utils/src/main/java/oen/nem/lacerta/utils/module/FileUtilsModule.java similarity index 90% rename from utils/src/main/java/oen/nem/lacerta/utils/module/UtilsModule.java rename to utils/src/main/java/oen/nem/lacerta/utils/module/FileUtilsModule.java index a05e96c9..0102889e 100644 --- a/utils/src/main/java/oen/nem/lacerta/utils/module/UtilsModule.java +++ b/utils/src/main/java/oen/nem/lacerta/utils/module/FileUtilsModule.java @@ -9,7 +9,7 @@ import one.nem.lacerta.data.utils.UtilsRepo; @Module @InstallIn(SingletonComponent.class) -abstract public class UtilsModule { +abstract public class FileUtilsModule { @Binds public abstract UtilsRepo bindUtils(UtilsImpl utilsImpl); diff --git a/utils/src/main/java/oen/nem/lacerta/utils/repository/UtilsRepo.java b/utils/src/main/java/oen/nem/lacerta/utils/repository/FileUtils.java similarity index 84% rename from utils/src/main/java/oen/nem/lacerta/utils/repository/UtilsRepo.java rename to utils/src/main/java/oen/nem/lacerta/utils/repository/FileUtils.java index 14a81d61..20a0a575 100644 --- a/utils/src/main/java/oen/nem/lacerta/utils/repository/UtilsRepo.java +++ b/utils/src/main/java/oen/nem/lacerta/utils/repository/FileUtils.java @@ -2,7 +2,7 @@ package oen.nem.lacerta.utils.repository; import java.nio.file.Path; -public interface UtilsRepo { +public interface FileUtils { Path getExternalFilesDirPath(String type);