From 6373bd1f4742d1f730f5e41a86c2a711b8f54edc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Sun, 10 Dec 2023 17:23:27 +0900 Subject: [PATCH] Add local dependency --- feature/debug/build.gradle | 5 +++++ .../one/nem/lacerta/feature/debug/DebugMenuFragment.java | 3 +++ 2 files changed, 8 insertions(+) diff --git a/feature/debug/build.gradle b/feature/debug/build.gradle index ae0d34cf..c6f6ed14 100644 --- a/feature/debug/build.gradle +++ b/feature/debug/build.gradle @@ -42,4 +42,9 @@ dependencies { implementation libs.com.google.dagger.hilt.android annotationProcessor libs.com.google.dagger.hilt.compiler + // 内部モジュール + // data + implementation project(':data:repository') + + } \ No newline at end of file diff --git a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuFragment.java b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuFragment.java index 4dae3640..70345245 100644 --- a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuFragment.java +++ b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuFragment.java @@ -9,6 +9,8 @@ import android.view.View; import android.view.ViewGroup; import android.widget.Button; +import javax.inject.Inject; + /** * A simple {@link Fragment} subclass. * Use the {@link DebugMenuFragment#newInstance} factory method to @@ -16,6 +18,7 @@ import android.widget.Button; */ public class DebugMenuFragment extends Fragment { + @Inject // TODO: Rename parameter arguments, choose names that match