-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
55 changed files
with
1,207 additions
and
298 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_size = 2 | ||
indent_style = space | ||
max_line_length = 150 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
ktlint_standard_filename = disabled | ||
ktlint_standard_import-ordering = disabled | ||
ktlint_standard_annotation = disabled | ||
ktlint_standard_wrapping = disabled | ||
ktlint_standard_argument-list-wrapping = disabled | ||
ktlint_standard_multiline-if-else = disabled | ||
|
||
[*.{kt,kts}] | ||
ij_kotlin_allow_trailing_comma = true | ||
ij_kotlin_allow_trailing_comma_on_call_site = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="app" type="AndroidRunConfigurationType" factoryName="Android App" activateToolWindowBeforeRun="false"> | ||
<module name="psychat-android.app.main" /> | ||
<option name="DEPLOY" value="true" /> | ||
<option name="DEPLOY_APK_FROM_BUNDLE" value="false" /> | ||
<option name="DEPLOY_AS_INSTANT" value="false" /> | ||
<option name="ARTIFACT_NAME" value="" /> | ||
<option name="PM_INSTALL_OPTIONS" value="" /> | ||
<option name="ALL_USERS" value="false" /> | ||
<option name="ALWAYS_INSTALL_WITH_PM" value="false" /> | ||
<option name="CLEAR_APP_STORAGE" value="false" /> | ||
<option name="ACTIVITY_EXTRA_FLAGS" value="" /> | ||
<option name="MODE" value="default_activity" /> | ||
<option name="CLEAR_LOGCAT" value="false" /> | ||
<option name="SHOW_LOGCAT_AUTOMATICALLY" value="false" /> | ||
<option name="INSPECTION_WITHOUT_ACTIVITY_RESTART" value="false" /> | ||
<option name="TARGET_SELECTION_MODE" value="DEVICE_AND_SNAPSHOT_COMBO_BOX" /> | ||
<option name="SELECTED_CLOUD_MATRIX_CONFIGURATION_ID" value="-1" /> | ||
<option name="SELECTED_CLOUD_MATRIX_PROJECT_ID" value="" /> | ||
<option name="DEBUGGER_TYPE" value="Auto" /> | ||
<Auto> | ||
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" /> | ||
<option name="SHOW_STATIC_VARS" value="true" /> | ||
<option name="WORKING_DIR" value="" /> | ||
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" /> | ||
<option name="SHOW_OPTIMIZED_WARNING" value="true" /> | ||
<option name="ATTACH_ON_WAIT_FOR_DEBUGGER" value="false" /> | ||
</Auto> | ||
<Hybrid> | ||
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" /> | ||
<option name="SHOW_STATIC_VARS" value="true" /> | ||
<option name="WORKING_DIR" value="" /> | ||
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" /> | ||
<option name="SHOW_OPTIMIZED_WARNING" value="true" /> | ||
<option name="ATTACH_ON_WAIT_FOR_DEBUGGER" value="false" /> | ||
</Hybrid> | ||
<Java> | ||
<option name="ATTACH_ON_WAIT_FOR_DEBUGGER" value="false" /> | ||
</Java> | ||
<Native> | ||
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" /> | ||
<option name="SHOW_STATIC_VARS" value="true" /> | ||
<option name="WORKING_DIR" value="" /> | ||
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" /> | ||
<option name="SHOW_OPTIMIZED_WARNING" value="true" /> | ||
<option name="ATTACH_ON_WAIT_FOR_DEBUGGER" value="false" /> | ||
</Native> | ||
<Profilers> | ||
<option name="ADVANCED_PROFILING_ENABLED" value="false" /> | ||
<option name="STARTUP_PROFILING_ENABLED" value="false" /> | ||
<option name="STARTUP_CPU_PROFILING_ENABLED" value="false" /> | ||
<option name="STARTUP_CPU_PROFILING_CONFIGURATION_NAME" value="Java/Kotlin Method Sample (legacy)" /> | ||
<option name="STARTUP_NATIVE_MEMORY_PROFILING_ENABLED" value="false" /> | ||
<option name="NATIVE_MEMORY_SAMPLE_RATE_BYTES" value="2048" /> | ||
</Profilers> | ||
<option name="DEEP_LINK" value="" /> | ||
<option name="ACTIVITY_CLASS" value="" /> | ||
<option name="SEARCH_ACTIVITY_IN_GLOBAL_SCOPE" value="false" /> | ||
<option name="SKIP_ACTIVITY_VALIDATION" value="false" /> | ||
<method v="2"> | ||
<option name="Android.Gradle.BeforeRunTask" enabled="true" /> | ||
</method> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration name="build" default="false" factoryName="Gradle" type="GradleRunConfiguration"> | ||
<ExternalSystemSettings> | ||
<option name="executionName" /> | ||
<option name="externalProjectPath" value="$PROJECT_DIR$" /> | ||
<option name="externalSystemIdString" value="GRADLE" /> | ||
<option name="scriptParameters" value="--stacktrace" /> | ||
<option name="taskDescriptions"> | ||
<list /> | ||
</option> | ||
<option name="taskNames"> | ||
<list> | ||
<option value="buildDebug" /> | ||
</list> | ||
</option> | ||
<option name="vmOptions" /> | ||
</ExternalSystemSettings> | ||
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess> | ||
<ExternalSystemReattachDebugProcess>false</ExternalSystemReattachDebugProcess> | ||
<DebugAllEnabled>false</DebugAllEnabled> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration name="ci" default="false" factoryName="Gradle" type="GradleRunConfiguration"> | ||
<ExternalSystemSettings> | ||
<option name="executionName" /> | ||
<option name="externalProjectPath" value="$PROJECT_DIR$" /> | ||
<option name="externalSystemIdString" value="GRADLE" /> | ||
<option name="scriptParameters" value="" /> | ||
<option name="taskDescriptions"> | ||
<list /> | ||
</option> | ||
<option name="taskNames"> | ||
<list> | ||
<option value="ktlintCheck" /> | ||
<option value="detekt" /> | ||
<option value="test" /> | ||
<option value="buildDebug" /> | ||
</list> | ||
</option> | ||
<option name="vmOptions" /> | ||
</ExternalSystemSettings> | ||
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess> | ||
<ExternalSystemReattachDebugProcess>false</ExternalSystemReattachDebugProcess> | ||
<DebugAllEnabled>false</DebugAllEnabled> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration name="clean-build" default="false" factoryName="Gradle" type="GradleRunConfiguration"> | ||
<ExternalSystemSettings> | ||
<option name="executionName" /> | ||
<option name="externalProjectPath" value="$PROJECT_DIR$" /> | ||
<option name="externalSystemIdString" value="GRADLE" /> | ||
<option name="scriptParameters" value="--no-build-cache --no-configuration-cache --stacktrace" /> | ||
<option name="taskDescriptions"> | ||
<list /> | ||
</option> | ||
<option name="taskNames"> | ||
<list> | ||
<option value="cleanAll" /> | ||
<option value="buildDebug" /> | ||
</list> | ||
</option> | ||
<option name="vmOptions" /> | ||
</ExternalSystemSettings> | ||
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess> | ||
<ExternalSystemReattachDebugProcess>false</ExternalSystemReattachDebugProcess> | ||
<DebugAllEnabled>false</DebugAllEnabled> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration name="style-checks" default="false" factoryName="Gradle" | ||
type="GradleRunConfiguration"> | ||
<ExternalSystemSettings> | ||
<option name="executionName" /> | ||
<option name="externalProjectPath" value="$PROJECT_DIR$" /> | ||
<option name="externalSystemIdString" value="GRADLE" /> | ||
<option name="scriptParameters" value="" /> | ||
<option name="taskDescriptions"> | ||
<list /> | ||
</option> | ||
<option name="taskNames"> | ||
<list> | ||
<option value="ktlintCheck" /> | ||
<option value="detekt" /> | ||
</list> | ||
</option> | ||
<option name="vmOptions" /> | ||
</ExternalSystemSettings> | ||
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess> | ||
<ExternalSystemReattachDebugProcess>false</ExternalSystemReattachDebugProcess> | ||
<DebugAllEnabled>false</DebugAllEnabled> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,43 @@ | ||
@file:Suppress("UnstableApiUsage", "INLINE_FROM_HIGHER_PLATFORM") | ||
|
||
plugins { | ||
alias(libs.plugins.com.android.application) | ||
alias(libs.plugins.org.jetbrains.kotlin.android) | ||
psychat("android-application") | ||
psychat("android-compose") | ||
psychat("android-hilt") | ||
} | ||
|
||
android { | ||
namespace = "com.last.psychat.android" | ||
compileSdk = 33 | ||
|
||
defaultConfig { | ||
applicationId = "com.last.psychat.android" | ||
minSdk = 24 | ||
targetSdk = 33 | ||
versionCode = 1 | ||
versionName = "1.0" | ||
namespace = "com.last.psychat.android" | ||
|
||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" | ||
vectorDrawables { | ||
useSupportLibrary = true | ||
} | ||
buildTypes { | ||
getByName("debug") { | ||
isDebuggable = true | ||
applicationIdSuffix = ".dev" | ||
manifestPlaceholders += mapOf( | ||
"appName" to "@string/app_name_dev", | ||
) | ||
} | ||
} | ||
|
||
buildTypes { | ||
release { | ||
isMinifyEnabled = false | ||
proguardFiles( | ||
getDefaultProguardFile("proguard-android-optimize.txt"), | ||
"proguard-rules.pro" | ||
) | ||
} | ||
} | ||
compileOptions { | ||
sourceCompatibility = JavaVersion.VERSION_1_8 | ||
targetCompatibility = JavaVersion.VERSION_1_8 | ||
} | ||
kotlinOptions { | ||
jvmTarget = "1.8" | ||
} | ||
buildFeatures { | ||
compose = true | ||
} | ||
composeOptions { | ||
kotlinCompilerExtensionVersion = "1.3.2" | ||
} | ||
packagingOptions { | ||
resources { | ||
excludes += "/META-INF/{AL2.0,LGPL2.1}" | ||
} | ||
} | ||
buildFeatures { | ||
buildConfig = true | ||
} | ||
} | ||
|
||
dependencies { | ||
|
||
implementation(libs.core.ktx) | ||
implementation(libs.lifecycle.runtime.ktx) | ||
implementation(libs.activity.compose) | ||
implementation(platform(libs.compose.bom)) | ||
implementation(libs.ui) | ||
implementation(libs.ui.graphics) | ||
implementation(libs.ui.tooling.preview) | ||
implementation(libs.material3) | ||
testImplementation(libs.junit) | ||
androidTestImplementation(libs.androidx.test.ext.junit) | ||
androidTestImplementation(libs.espresso.core) | ||
androidTestImplementation(platform(libs.compose.bom)) | ||
androidTestImplementation(libs.ui.test.junit4) | ||
debugImplementation(libs.ui.tooling) | ||
debugImplementation(libs.ui.test.manifest) | ||
} | ||
coreLibraryDesugaring(libs.desugar.jdk) | ||
implementations( | ||
projects.core.data, | ||
projects.core.designsystem, | ||
projects.core.domain, | ||
projects.core.ui, | ||
projects.core.util, | ||
projects.feature.main, | ||
libs.androidx.splash, | ||
libs.androidx.startup, | ||
libs.androidx.core, | ||
libs.androidx.splash, | ||
libs.timber, | ||
libs.bundles.androidx.compose, | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Begin: Debug Proguard rules | ||
|
||
-dontobfuscate #난독화를 수행하지 않도록 함 | ||
-keepattributes SoureFile,LineNumberTable #소스파일, 라인 정보 유지 | ||
# End: Debug ProGuard rules | ||
|
||
# Keep generic signature of Call, Response (R8 full mode strips signatures from non-kept items). | ||
-keep,allowobfuscation,allowshrinking interface retrofit2.Call | ||
-keep,allowobfuscation,allowshrinking class retrofit2.Response | ||
|
||
# With R8 full mode generic signatures are stripped for classes that are not | ||
# kept. Suspend functions are wrapped in continuations where the type argument | ||
# is used. | ||
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 0 additions & 24 deletions
24
app/src/androidTest/java/com/last/psychat/android/ExampleInstrumentedTest.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.