From 65c1996c471af4f402b875218d8aea3b225f98cb 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:12:46 +0900 Subject: [PATCH] WIP --- data/repository/build.gradle | 4 ++++ .../java/one/nem/lacerta/data/repository/TestData.java | 7 +++++++ feature/debug/src/main/res/layout/fragment_debug_menu.xml | 8 +++++++- 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 data/repository/src/main/java/one/nem/lacerta/data/repository/TestData.java diff --git a/data/repository/build.gradle b/data/repository/build.gradle index 577bc5d8..4eeff8ec 100644 --- a/data/repository/build.gradle +++ b/data/repository/build.gradle @@ -32,4 +32,8 @@ dependencies { testImplementation libs.junit androidTestImplementation libs.androidx.test.ext.junit androidTestImplementation libs.androidx.test.espresso.core + + // Hilt (DI) + implementation libs.com.google.dagger.hilt.android + annotationProcessor libs.com.google.dagger.hilt.compiler } \ No newline at end of file diff --git a/data/repository/src/main/java/one/nem/lacerta/data/repository/TestData.java b/data/repository/src/main/java/one/nem/lacerta/data/repository/TestData.java new file mode 100644 index 00000000..1e392dbc --- /dev/null +++ b/data/repository/src/main/java/one/nem/lacerta/data/repository/TestData.java @@ -0,0 +1,7 @@ +package one.nem.lacerta.data.repository; + +public class TestData { + public String getTestData(){ + return "TestData"; + } +} diff --git a/feature/debug/src/main/res/layout/fragment_debug_menu.xml b/feature/debug/src/main/res/layout/fragment_debug_menu.xml index d7eff2e4..18999717 100644 --- a/feature/debug/src/main/res/layout/fragment_debug_menu.xml +++ b/feature/debug/src/main/res/layout/fragment_debug_menu.xml @@ -7,9 +7,15 @@ tools:context=".DebugMenuFragment"> + +