From ba6af21f7a374b7c93ee4ee9afad5c0b83283de9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=EC=84=B1=ED=98=84?= Date: Sat, 9 Sep 2023 14:50:08 +0900 Subject: [PATCH] =?UTF-8?q?:fire:=20::=20DI=20=EB=AA=A8=EB=93=88=20?= =?UTF-8?q?=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- di/.gitignore | 1 - di/build.gradle.kts | 40 ------------------- di/consumer-rules.pro | 0 di/proguard-rules.pro | 21 ---------- .../com/msg/di/ExampleInstrumentedTest.kt | 24 ----------- di/src/main/AndroidManifest.xml | 4 -- .../test/java/com/msg/di/ExampleUnitTest.kt | 17 -------- settings.gradle.kts | 1 - 8 files changed, 108 deletions(-) delete mode 100644 di/.gitignore delete mode 100644 di/build.gradle.kts delete mode 100644 di/consumer-rules.pro delete mode 100644 di/proguard-rules.pro delete mode 100644 di/src/androidTest/java/com/msg/di/ExampleInstrumentedTest.kt delete mode 100644 di/src/main/AndroidManifest.xml delete mode 100644 di/src/test/java/com/msg/di/ExampleUnitTest.kt diff --git a/di/.gitignore b/di/.gitignore deleted file mode 100644 index 42afabfd..00000000 --- a/di/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build \ No newline at end of file diff --git a/di/build.gradle.kts b/di/build.gradle.kts deleted file mode 100644 index 97469e02..00000000 --- a/di/build.gradle.kts +++ /dev/null @@ -1,40 +0,0 @@ -plugins { - id(ProjectProperties.GradlePlugin.ANDROID_LIBRARY) - id(ProjectProperties.GradlePlugin.KOTLIN_ANDROID) -} - -android { - namespace = "com.msg.di" - compileSdk = ProjectProperties.Versions.COMPILE_SDK - - defaultConfig { - minSdk = ProjectProperties.Versions.MIN_SDK - targetSdk = ProjectProperties.Versions.TARGET_SDK - - testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" - consumerProguardFiles("consumer-rules.pro") - } - - buildTypes { - release { - isMinifyEnabled = false - proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro") - } - } - compileOptions { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 - } - kotlinOptions { - jvmTarget = "11" - } -} - -dependencies { - implementation(Dependency.Androidx.CORE_KTX) - implementation(Dependency.Androidx.APP_COMPAT) - implementation(Dependency.Google.MATERIAL) - testImplementation(Dependency.UnitTest.JUNIT) - androidTestImplementation(Dependency.AndroidTest.ANDROID_JUNIT) - androidTestImplementation(Dependency.AndroidTest.ESPRESSO_CORE) -} diff --git a/di/consumer-rules.pro b/di/consumer-rules.pro deleted file mode 100644 index e69de29b..00000000 diff --git a/di/proguard-rules.pro b/di/proguard-rules.pro deleted file mode 100644 index 481bb434..00000000 --- a/di/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/di/src/androidTest/java/com/msg/di/ExampleInstrumentedTest.kt b/di/src/androidTest/java/com/msg/di/ExampleInstrumentedTest.kt deleted file mode 100644 index f57f9510..00000000 --- a/di/src/androidTest/java/com/msg/di/ExampleInstrumentedTest.kt +++ /dev/null @@ -1,24 +0,0 @@ -package com.msg.di - -import androidx.test.platform.app.InstrumentationRegistry -import androidx.test.ext.junit.runners.AndroidJUnit4 - -import org.junit.Test -import org.junit.runner.RunWith - -import org.junit.Assert.* - -/** - * Instrumented test, which will execute on an Android device. - * - * See [testing documentation](http://d.android.com/tools/testing). - */ -@RunWith(AndroidJUnit4::class) -class ExampleInstrumentedTest { - @Test - fun useAppContext() { - // Context of the app under test. - val appContext = InstrumentationRegistry.getInstrumentation().targetContext - assertEquals("com.msg.di.test", appContext.packageName) - } -} \ No newline at end of file diff --git a/di/src/main/AndroidManifest.xml b/di/src/main/AndroidManifest.xml deleted file mode 100644 index a5918e68..00000000 --- a/di/src/main/AndroidManifest.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/di/src/test/java/com/msg/di/ExampleUnitTest.kt b/di/src/test/java/com/msg/di/ExampleUnitTest.kt deleted file mode 100644 index d240bdbd..00000000 --- a/di/src/test/java/com/msg/di/ExampleUnitTest.kt +++ /dev/null @@ -1,17 +0,0 @@ -package com.msg.di - -import org.junit.Test - -import org.junit.Assert.* - -/** - * Example local unit test, which will execute on the development machine (host). - * - * See [testing documentation](http://d.android.com/tools/testing). - */ -class ExampleUnitTest { - @Test - fun addition_isCorrect() { - assertEquals(4, 2 + 2) - } -} \ No newline at end of file diff --git a/settings.gradle.kts b/settings.gradle.kts index c321d47a..f263d1ea 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -18,4 +18,3 @@ include(":app") include(":domain") include(":data") include(":presentation") -include(":di")