Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions Week10/Yido/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
.cxx
local.properties
.claude/
*.jks
*.keystore
3 changes: 3 additions & 0 deletions Week10/Yido/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Week10/Yido/.idea/AndroidProjectSystem.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Week10/Yido/.idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions Week10/Yido/.idea/deploymentTargetSelector.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions Week10/Yido/.idea/deviceManager.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions Week10/Yido/.idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Week10/Yido/.idea/markdown.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Week10/Yido/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions Week10/Yido/.idea/runConfigurations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Week10/Yido/.idea/studiobot.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Week10/Yido/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 37 additions & 0 deletions Week10/Yido/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# ๐Ÿ“Œ ๋ฏธ์…˜ ๋ฒˆํ˜ธ

10์ฃผ์ฐจ ์‹ค์ „ ๋ฏธ์…˜

---

# ๐Ÿ“‹ ๊ตฌํ˜„ ์‚ฌํ•ญ

## 1. ๋ฐฐํฌ์šฉ AAB ๋นŒ๋“œ
- [x] ๋นŒ๋“œ๋œ AAB ํŒŒ์ผ ๊ฒฝ๋กœ PR์— ์—…๋กœ๋“œํ•˜๊ธฐ
- ๊ฒฝ๋กœ: `app/build/outputs/bundle/release/app-release.aab`

## 2. Claude Code๋กœ ์ฝ”๋“œ ๋ฆฌ๋ทฐ ๋ฐ›๊ธฐ
- [x] Claude Code CLI ์„ค์น˜ํ•˜๊ณ  ํ”„๋กœ์ ํŠธ ๋ฃจํŠธ์—์„œ ์‹คํ–‰ํ•˜๊ธฐ
- [x] ๋ณธ์ธ์ด ์ž‘์„ฑํ•œ ์ฝ”๋“œ ์„ ํƒํ•ด์„œ ์ฝ”๋“œ ๋ฆฌ๋ทฐ ์š”์ฒญํ•˜๊ธฐ
- [x] ๋ฆฌ๋ทฐ ๊ฒฐ๊ณผ๋ฅผ ๋ฐ”ํƒ•์œผ๋กœ ์‹ค์ œ๋กœ ์ฝ”๋“œ ๊ฐœ์„ ํ•ด๋ณด๊ธฐ

---

# ๐Ÿ“ท ์Šคํฌ๋ฆฐ์ƒท



---

# โœ… ์ฒดํฌ๋ฆฌ์ŠคํŠธ

- [x] ๋ฐฐํฌ์šฉ AAB ๋นŒ๋“œ ์™„๋ฃŒ (`./gradlew bundleRelease`)
- [x] Claude Code CLI๋กœ ์ฝ”๋“œ ๋ฆฌ๋ทฐ ์ˆ˜ํ–‰ ์™„๋ฃŒ
- [x] ๋ฆฌ๋ทฐ ๊ฒฐ๊ณผ ๋ฐ”ํƒ•์œผ๋กœ ์ฝ”๋“œ ๊ฐœ์„  ์™„๋ฃŒ
- [x] Merge ํ•˜๋ ค๋Š” ๋ธŒ๋žœ์น˜๊ฐ€ ์˜ฌ๋ฐ”๋ฅด๊ฒŒ ์„ค์ •๋˜์–ด ์žˆ๋‚˜์š”?
- [x] ์—๋ฎฌ๋ ˆ์ดํ„ฐ ๋˜๋Š” ์‹ค์ œ ๊ธฐ๊ธฐ์—์„œ ์ •์ƒ ๋™์ž‘ํ•˜๋‚˜์š”?
- [x] ๋ถˆํ•„์š”ํ•œ ์ฃผ์„ ๋ฐ Log๊ฐ€ ์ œ๊ฑฐ๋˜์—ˆ๋‚˜์š”?

---

# ๐Ÿ”ฅ ์งˆ๋ฌธ ์‚ฌํ•ญ
1 change: 1 addition & 0 deletions Week10/Yido/app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
136 changes: 136 additions & 0 deletions Week10/Yido/app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
import java.util.Properties

plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.ksp)
alias(libs.plugins.hilt.android)
alias(libs.plugins.kotlin.compose)
alias(libs.plugins.kotlin.serialization)
}

val localProperties = Properties().apply {
val localFile = rootProject.file("local.properties")
if (localFile.exists()) {
localFile.inputStream().use { load(it) }
}
}

android {
namespace = "com.example.yido"
compileSdk {
version = release(36) {
minorApiLevel = 1
}
}

defaultConfig {
applicationId = "com.example.yido"
minSdk = 24
targetSdk = 36
versionCode = 1
versionName = "1.0"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"

// API ํ‚ค๋ฅผ local.properties์—์„œ ์ฝ์–ด BuildConfig๋กœ ๋…ธ์ถœ (์†Œ์Šค ํ•˜๋“œ์ฝ”๋”ฉ ๊ธˆ์ง€)
val apiKey = localProperties.getProperty("API_KEY")
?: throw GradleException("local.properties์— API_KEY๋ฅผ ์„ค์ •ํ•˜์„ธ์š”.")
buildConfigField("String", "API_KEY", "\"$apiKey\"")
}

signingConfigs {
create("release") {
val storeFilePath = localProperties.getProperty("RELEASE_STORE_FILE")
if (storeFilePath != null) {
storeFile = file(storeFilePath)
storePassword = localProperties.getProperty("RELEASE_STORE_PASSWORD")
keyAlias = localProperties.getProperty("RELEASE_KEY_ALIAS")
keyPassword = localProperties.getProperty("RELEASE_KEY_PASSWORD")
}
}
}

buildTypes {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
if (localProperties.getProperty("RELEASE_STORE_FILE") != null) {
signingConfig = signingConfigs.getByName("release")
}
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
buildFeatures {
compose = true
buildConfig = true
}
}

dependencies {
implementation(libs.androidx.core.ktx)
implementation(libs.androidx.appcompat)
implementation(libs.material)
implementation(libs.androidx.activity)
implementation(libs.androidx.constraintlayout)

// Splash Screen
implementation("androidx.core:core-splashscreen:1.0.1")

// DataStore
implementation("androidx.datastore:datastore-preferences:1.1.1")

// Gson
implementation("com.google.code.gson:gson:2.10.1")

// Lifecycle (ViewModel + Runtime + Compose)
implementation(libs.androidx.lifecycle.runtime.ktx)
implementation(libs.androidx.lifecycle.viewmodel.ktx)
implementation("androidx.lifecycle:lifecycle-runtime-compose:2.8.7")

// Hilt
implementation(libs.hilt.android)
ksp(libs.hilt.android.compiler)

// Retrofit & Network
implementation("com.squareup.retrofit2:retrofit:2.9.0")
implementation("com.squareup.retrofit2:converter-gson:2.9.0")
implementation("com.squareup.okhttp3:logging-interceptor:4.12.0")

// Coroutines
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.0")

// Compose BOM
val composeBom = platform(libs.androidx.compose.bom)
implementation(composeBom)
implementation(libs.androidx.compose.ui)
implementation(libs.androidx.compose.ui.graphics)
implementation(libs.androidx.compose.ui.tooling.preview)
implementation(libs.androidx.compose.material3)
debugImplementation(libs.androidx.compose.ui.tooling)

// Activity Compose
implementation(libs.androidx.activity.compose)

// Navigation Compose
implementation(libs.androidx.navigation.compose)

// Kotlinx Serialization
implementation(libs.kotlinx.serialization.json)

// Coil (image loading for Compose)
implementation(libs.coil.compose)

// Hilt Navigation Compose
implementation(libs.hilt.navigation.compose)

testImplementation(libs.junit)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)
}
21 changes: 21 additions & 0 deletions Week10/Yido/app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# 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
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
package com.example.yido

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.example.yido", appContext.packageName)
}
}
Loading