From 4462ced6ae6f945402161a28c0696a39a036a9a8 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:58:09 +0900 Subject: [PATCH] =?UTF-8?q?Data=E3=83=A2=E3=82=B8=E3=83=A5=E3=83=BC?= =?UTF-8?q?=E3=83=AB=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/repository/.gitignore | 1 - data/repository/build.gradle | 39 ------------------- data/repository/consumer-rules.pro | 0 data/repository/proguard-rules.pro | 21 ---------- .../repository/ExampleInstrumentedTest.java | 26 ------------- data/repository/src/main/AndroidManifest.xml | 4 -- .../nem/lacerta/data/repository/TestData.java | 14 ------- .../data/repository/ExampleUnitTest.java | 17 -------- data/source/database/.gitignore | 1 - data/source/database/build.gradle | 35 ----------------- data/source/database/consumer-rules.pro | 0 data/source/database/proguard-rules.pro | 21 ---------- .../database/ExampleInstrumentedTest.java | 26 ------------- .../database/src/main/AndroidManifest.xml | 4 -- .../data/source/database/ExampleUnitTest.java | 17 -------- data/source/preference/.gitignore | 1 - data/source/preference/build.gradle | 35 ----------------- data/source/preference/consumer-rules.pro | 0 data/source/preference/proguard-rules.pro | 21 ---------- .../preference/ExampleInstrumentedTest.java | 26 ------------- .../preference/src/main/AndroidManifest.xml | 4 -- .../source/preference/ExampleUnitTest.java | 17 -------- 22 files changed, 330 deletions(-) delete mode 100644 data/repository/.gitignore delete mode 100644 data/repository/build.gradle delete mode 100644 data/repository/consumer-rules.pro delete mode 100644 data/repository/proguard-rules.pro delete mode 100644 data/repository/src/androidTest/java/one/nem/lacerta/data/repository/ExampleInstrumentedTest.java delete mode 100644 data/repository/src/main/AndroidManifest.xml delete mode 100644 data/repository/src/main/java/one/nem/lacerta/data/repository/TestData.java delete mode 100644 data/repository/src/test/java/one/nem/lacerta/data/repository/ExampleUnitTest.java delete mode 100644 data/source/database/.gitignore delete mode 100644 data/source/database/build.gradle delete mode 100644 data/source/database/consumer-rules.pro delete mode 100644 data/source/database/proguard-rules.pro delete mode 100644 data/source/database/src/androidTest/java/one/nem/lacerta/data/source/database/ExampleInstrumentedTest.java delete mode 100644 data/source/database/src/main/AndroidManifest.xml delete mode 100644 data/source/database/src/test/java/one/nem/lacerta/data/source/database/ExampleUnitTest.java delete mode 100644 data/source/preference/.gitignore delete mode 100644 data/source/preference/build.gradle delete mode 100644 data/source/preference/consumer-rules.pro delete mode 100644 data/source/preference/proguard-rules.pro delete mode 100644 data/source/preference/src/androidTest/java/one/nem/lacerta/data/source/preference/ExampleInstrumentedTest.java delete mode 100644 data/source/preference/src/main/AndroidManifest.xml delete mode 100644 data/source/preference/src/test/java/one/nem/lacerta/data/source/preference/ExampleUnitTest.java diff --git a/data/repository/.gitignore b/data/repository/.gitignore deleted file mode 100644 index 42afabfd..00000000 --- a/data/repository/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build \ No newline at end of file diff --git a/data/repository/build.gradle b/data/repository/build.gradle deleted file mode 100644 index 4eeff8ec..00000000 --- a/data/repository/build.gradle +++ /dev/null @@ -1,39 +0,0 @@ -plugins { - alias(libs.plugins.com.android.library) -} - -android { - namespace 'one.nem.lacerta.data.repository' - compileSdk 33 - - defaultConfig { - minSdk 26 - - testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" - consumerProguardFiles "consumer-rules.pro" - } - - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } - compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 - } -} - -dependencies { - - implementation libs.androidx.appcompat - implementation libs.com.google.android.material - 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/consumer-rules.pro b/data/repository/consumer-rules.pro deleted file mode 100644 index e69de29b..00000000 diff --git a/data/repository/proguard-rules.pro b/data/repository/proguard-rules.pro deleted file mode 100644 index 481bb434..00000000 --- a/data/repository/proguard-rules.pro +++ /dev/null @@ -1,21 +0,0 @@ -# Add project specific ProGuard rules here. -# You can control the set of applied configuration files using the -# proguardFiles setting in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} - -# Uncomment this to preserve the line number information for -# debugging stack traces. -#-keepattributes SourceFile,LineNumberTable - -# If you keep the line number information, uncomment this to -# hide the original source file name. -#-renamesourcefileattribute SourceFile \ No newline at end of file diff --git a/data/repository/src/androidTest/java/one/nem/lacerta/data/repository/ExampleInstrumentedTest.java b/data/repository/src/androidTest/java/one/nem/lacerta/data/repository/ExampleInstrumentedTest.java deleted file mode 100644 index e4df15b0..00000000 --- a/data/repository/src/androidTest/java/one/nem/lacerta/data/repository/ExampleInstrumentedTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package one.nem.lacerta.data.repository; - -import android.content.Context; - -import androidx.test.platform.app.InstrumentationRegistry; -import androidx.test.ext.junit.runners.AndroidJUnit4; - -import org.junit.Test; -import org.junit.runner.RunWith; - -import static org.junit.Assert.*; - -/** - * Instrumented test, which will execute on an Android device. - * - * @see Testing documentation - */ -@RunWith(AndroidJUnit4.class) -public class ExampleInstrumentedTest { - @Test - public void useAppContext() { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); - assertEquals("one.nem.lacerta.data.repository.test", appContext.getPackageName()); - } -} \ No newline at end of file diff --git a/data/repository/src/main/AndroidManifest.xml b/data/repository/src/main/AndroidManifest.xml deleted file mode 100644 index a5918e68..00000000 --- a/data/repository/src/main/AndroidManifest.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ 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 deleted file mode 100644 index 763de78d..00000000 --- a/data/repository/src/main/java/one/nem/lacerta/data/repository/TestData.java +++ /dev/null @@ -1,14 +0,0 @@ -package one.nem.lacerta.data.repository; - -import javax.inject.Inject; - -public class TestData { - - @Inject - public TestData(){ - } - - public String getTestData(){ - return "TestData"; - } -} diff --git a/data/repository/src/test/java/one/nem/lacerta/data/repository/ExampleUnitTest.java b/data/repository/src/test/java/one/nem/lacerta/data/repository/ExampleUnitTest.java deleted file mode 100644 index dac10858..00000000 --- a/data/repository/src/test/java/one/nem/lacerta/data/repository/ExampleUnitTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package one.nem.lacerta.data.repository; - -import org.junit.Test; - -import static org.junit.Assert.*; - -/** - * Example local unit test, which will execute on the development machine (host). - * - * @see Testing documentation - */ -public class ExampleUnitTest { - @Test - public void addition_isCorrect() { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file diff --git a/data/source/database/.gitignore b/data/source/database/.gitignore deleted file mode 100644 index 42afabfd..00000000 --- a/data/source/database/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build \ No newline at end of file diff --git a/data/source/database/build.gradle b/data/source/database/build.gradle deleted file mode 100644 index 227ad17d..00000000 --- a/data/source/database/build.gradle +++ /dev/null @@ -1,35 +0,0 @@ -plugins { - alias(libs.plugins.com.android.library) -} - -android { - namespace 'one.nem.lacerta.data.source.database' - compileSdk 33 - - defaultConfig { - minSdk 26 - - testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" - consumerProguardFiles "consumer-rules.pro" - } - - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } - compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 - } -} - -dependencies { - - implementation libs.androidx.appcompat - implementation libs.com.google.android.material - testImplementation libs.junit - androidTestImplementation libs.androidx.test.ext.junit - androidTestImplementation libs.androidx.test.espresso.core -} \ No newline at end of file diff --git a/data/source/database/consumer-rules.pro b/data/source/database/consumer-rules.pro deleted file mode 100644 index e69de29b..00000000 diff --git a/data/source/database/proguard-rules.pro b/data/source/database/proguard-rules.pro deleted file mode 100644 index 481bb434..00000000 --- a/data/source/database/proguard-rules.pro +++ /dev/null @@ -1,21 +0,0 @@ -# Add project specific ProGuard rules here. -# You can control the set of applied configuration files using the -# proguardFiles setting in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} - -# Uncomment this to preserve the line number information for -# debugging stack traces. -#-keepattributes SourceFile,LineNumberTable - -# If you keep the line number information, uncomment this to -# hide the original source file name. -#-renamesourcefileattribute SourceFile \ No newline at end of file diff --git a/data/source/database/src/androidTest/java/one/nem/lacerta/data/source/database/ExampleInstrumentedTest.java b/data/source/database/src/androidTest/java/one/nem/lacerta/data/source/database/ExampleInstrumentedTest.java deleted file mode 100644 index b1840d63..00000000 --- a/data/source/database/src/androidTest/java/one/nem/lacerta/data/source/database/ExampleInstrumentedTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package one.nem.lacerta.data.source.database; - -import android.content.Context; - -import androidx.test.platform.app.InstrumentationRegistry; -import androidx.test.ext.junit.runners.AndroidJUnit4; - -import org.junit.Test; -import org.junit.runner.RunWith; - -import static org.junit.Assert.*; - -/** - * Instrumented test, which will execute on an Android device. - * - * @see Testing documentation - */ -@RunWith(AndroidJUnit4.class) -public class ExampleInstrumentedTest { - @Test - public void useAppContext() { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); - assertEquals("one.nem.lacerta.data.source.database.test", appContext.getPackageName()); - } -} \ No newline at end of file diff --git a/data/source/database/src/main/AndroidManifest.xml b/data/source/database/src/main/AndroidManifest.xml deleted file mode 100644 index a5918e68..00000000 --- a/data/source/database/src/main/AndroidManifest.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/data/source/database/src/test/java/one/nem/lacerta/data/source/database/ExampleUnitTest.java b/data/source/database/src/test/java/one/nem/lacerta/data/source/database/ExampleUnitTest.java deleted file mode 100644 index ea23bf10..00000000 --- a/data/source/database/src/test/java/one/nem/lacerta/data/source/database/ExampleUnitTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package one.nem.lacerta.data.source.database; - -import org.junit.Test; - -import static org.junit.Assert.*; - -/** - * Example local unit test, which will execute on the development machine (host). - * - * @see Testing documentation - */ -public class ExampleUnitTest { - @Test - public void addition_isCorrect() { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file diff --git a/data/source/preference/.gitignore b/data/source/preference/.gitignore deleted file mode 100644 index 42afabfd..00000000 --- a/data/source/preference/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build \ No newline at end of file diff --git a/data/source/preference/build.gradle b/data/source/preference/build.gradle deleted file mode 100644 index e55586d6..00000000 --- a/data/source/preference/build.gradle +++ /dev/null @@ -1,35 +0,0 @@ -plugins { - alias(libs.plugins.com.android.library) -} - -android { - namespace 'one.nem.lacerta.data.source.preference' - compileSdk 33 - - defaultConfig { - minSdk 26 - - testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" - consumerProguardFiles "consumer-rules.pro" - } - - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } - compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 - } -} - -dependencies { - - implementation libs.androidx.appcompat - implementation libs.com.google.android.material - testImplementation libs.junit - androidTestImplementation libs.androidx.test.ext.junit - androidTestImplementation libs.androidx.test.espresso.core -} \ No newline at end of file diff --git a/data/source/preference/consumer-rules.pro b/data/source/preference/consumer-rules.pro deleted file mode 100644 index e69de29b..00000000 diff --git a/data/source/preference/proguard-rules.pro b/data/source/preference/proguard-rules.pro deleted file mode 100644 index 481bb434..00000000 --- a/data/source/preference/proguard-rules.pro +++ /dev/null @@ -1,21 +0,0 @@ -# Add project specific ProGuard rules here. -# You can control the set of applied configuration files using the -# proguardFiles setting in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} - -# Uncomment this to preserve the line number information for -# debugging stack traces. -#-keepattributes SourceFile,LineNumberTable - -# If you keep the line number information, uncomment this to -# hide the original source file name. -#-renamesourcefileattribute SourceFile \ No newline at end of file diff --git a/data/source/preference/src/androidTest/java/one/nem/lacerta/data/source/preference/ExampleInstrumentedTest.java b/data/source/preference/src/androidTest/java/one/nem/lacerta/data/source/preference/ExampleInstrumentedTest.java deleted file mode 100644 index 9c5ba72e..00000000 --- a/data/source/preference/src/androidTest/java/one/nem/lacerta/data/source/preference/ExampleInstrumentedTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package one.nem.lacerta.data.source.preference; - -import android.content.Context; - -import androidx.test.platform.app.InstrumentationRegistry; -import androidx.test.ext.junit.runners.AndroidJUnit4; - -import org.junit.Test; -import org.junit.runner.RunWith; - -import static org.junit.Assert.*; - -/** - * Instrumented test, which will execute on an Android device. - * - * @see Testing documentation - */ -@RunWith(AndroidJUnit4.class) -public class ExampleInstrumentedTest { - @Test - public void useAppContext() { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); - assertEquals("one.nem.lacerta.data.source.preference.test", appContext.getPackageName()); - } -} \ No newline at end of file diff --git a/data/source/preference/src/main/AndroidManifest.xml b/data/source/preference/src/main/AndroidManifest.xml deleted file mode 100644 index a5918e68..00000000 --- a/data/source/preference/src/main/AndroidManifest.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/data/source/preference/src/test/java/one/nem/lacerta/data/source/preference/ExampleUnitTest.java b/data/source/preference/src/test/java/one/nem/lacerta/data/source/preference/ExampleUnitTest.java deleted file mode 100644 index 1237a5aa..00000000 --- a/data/source/preference/src/test/java/one/nem/lacerta/data/source/preference/ExampleUnitTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package one.nem.lacerta.data.source.preference; - -import org.junit.Test; - -import static org.junit.Assert.*; - -/** - * Example local unit test, which will execute on the development machine (host). - * - * @see Testing documentation - */ -public class ExampleUnitTest { - @Test - public void addition_isCorrect() { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file