Skip to content
Merged
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
149 changes: 149 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
### Android ###
# Gradle files
.gradle/
build/
Expand Down Expand Up @@ -32,6 +33,154 @@ google-services.json
# Android Profiling
*.hprof

### Android Patch ###
gen-external-apklibs

# Replacement of .externalNativeBuild directories introduced
# with Android Studio 3.5.

### Kotlin ###
# Compiled class file
*.class

# Log file

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
replay_pid*

### AndroidStudio ###
# Covers files to be ignored for android development using Android Studio.

# Built application files
*.ap_
*.aab

# Files for the ART/Dalvik VM
*.dex

# Java class files

# Generated files
bin/
gen/
out/

# Gradle files
.gradle

# Signing files
.signing/

# Local configuration file (sdk path, etc)

# Proguard folder generated by Eclipse
proguard/

# Log Files

# Android Studio
/*/build/
/*/local.properties
/*/out
/*/*/build
/*/*/production
.navigation/
*.ipr
*~
*.swp

# Keystore files

# Google Services (e.g. APIs or Firebase)
# google-services.json

# Android Patch

# External native build folder generated in Android Studio 2.2 and later
.externalNativeBuild

# NDK
obj/

# IntelliJ IDEA
*.iws
/out/

# User-specific configurations
.idea/caches/
.idea/libraries/
.idea/shelf/
.idea/workspace.xml
.idea/tasks.xml
.idea/.name
.idea/compiler.xml
.idea/copyright/profiles_settings.xml
.idea/encodings.xml
.idea/misc.xml
.idea/modules.xml
.idea/scopes/scope_settings.xml
.idea/dictionaries
.idea/vcs.xml
.idea/jsLibraryMappings.xml
.idea/datasources.xml
.idea/dataSources.ids
.idea/sqlDataSources.xml
.idea/dynamic.xml
.idea/uiDesigner.xml
.idea/assetWizardSettings.xml
.idea/gradle.xml
.idea/jarRepositories.xml
.idea/navEditor.xml

# Legacy Eclipse project files
.classpath
.project
.cproject
.settings/

# Mobile Tools for Java (J2ME)

# Package Files #

# virtual machine crash logs (Reference: http://www.java.com/en/download/help/error_hotspot.xml)

## Plugin-specific files:

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Mongo Explorer plugin
.idea/mongoSettings.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

### AndroidStudio Patch ###

!/gradle/wrapper/gradle-wrapper.jar

# DS Store
.DS_Store
._.DS_Store
Expand Down
1 change: 1 addition & 0 deletions build-logic/convention/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ dependencies {
compileOnly(libs.kotlin.gradle.plugin)
compileOnly(libs.ksp.gradle.plugin)
compileOnly(libs.hilt.gradle.plugin)
implementation(libs.firebase.performance.plugin)
}

gradlePlugin {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ class AndroidApplicationConventionPlugin : Plugin<Project> {
with(target) {
pluginManager.apply(libs.plugin("android-application").get().pluginId)
pluginManager.apply(libs.plugin("kotlin-android").get().pluginId)
pluginManager.apply(libs.plugin("google-services").get().pluginId)
pluginManager.apply(libs.plugin("firebase-performance").get().pluginId)
pluginManager.apply("convention.android.hilt")

// Android 애플리케이션 공통 설정
Expand All @@ -33,7 +35,6 @@ class AndroidApplicationConventionPlugin : Plugin<Project> {
)
}
debug {
applicationIdSuffix = ".debug"
isDebuggable = true
}
}
Expand All @@ -46,6 +47,10 @@ class AndroidApplicationConventionPlugin : Plugin<Project> {
"implementation"(libs.library("androidx-core-ktx"))
"implementation"(libs.library("timber"))

"implementation"(platform(libs.library("firebase-bom")))
"implementation"(libs.library("firebase-analytics"))
"implementation"(libs.library("firebase-performance"))

"testImplementation"(libs.library("junit"))
"androidTestImplementation"(libs.library("androidx-test-ext-junit"))
"androidTestImplementation"(libs.library("androidx-test-espresso-core"))
Expand Down
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ plugins {
alias(libs.plugins.hilt) apply false
alias(libs.plugins.ksp) apply false
alias(libs.plugins.navigation.safeargs) apply false
alias(libs.plugins.google.services) apply false
}
2 changes: 1 addition & 1 deletion common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
}

android {
namespace = "com.project200.myapp.common"
namespace = "com.project200.undabang.common"

buildFeatures {
viewBinding = true
Expand Down
2 changes: 1 addition & 1 deletion data/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

android {
namespace = "com.project200.myapp.data"
namespace = "com.project200.undabang.data"
}

dependencies {
Expand Down
15 changes: 14 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ minSdk = "26"
targetSdk = "34"
versionCode = "1"
versionName = "1.0"
firebaseBom = "32.7.0"
googleServicesPlugin = "4.4.2"
firebasePerfPlugin = "1.4.2"

# AndroidX Core & UI (SDK 34 호환 버전으로 조정)
androidxCore = "1.13.1"
Expand Down Expand Up @@ -60,7 +63,7 @@ kotlin-gradle-plugin = { group = "org.jetbrains.kotlin", name = "kotlin-gradle-p
ksp-gradle-plugin = { group = "com.google.devtools.ksp", name = "com.google.devtools.ksp.gradle.plugin", version.ref = "ksp"}
# Hilt 플러그인 아티팩트
hilt-gradle-plugin = { group = "com.google.dagger", name = "hilt-android-gradle-plugin", version.ref = "hilt"}

firebase-performance-plugin = { group = "com.google.firebase", name = "perf-plugin", version.ref = "firebasePerfPlugin" }

# Kotlin
kotlin-stdlib = { group = "org.jetbrains.kotlin", name = "kotlin-stdlib", version.ref = "kotlin" }
Expand Down Expand Up @@ -125,6 +128,12 @@ turbine = { group = "app.cash.turbine", name = "turbine", version.ref = "turbine
javax-inject = { group = "javax.inject", name = "javax.inject", version.ref = "javaxInject" }
androidx-activity = { group = "androidx.activity", name = "activity", version.ref = "activity" } # 원래 있던 정의 유지

# Firebase BoM
firebase-bom = { group = "com.google.firebase", name = "firebase-bom", version.ref = "firebaseBom" }
# Firebase SDKs
firebase-analytics = { group = "com.google.firebase", name = "firebase-analytics-ktx" }
firebase-performance = { group = "com.google.firebase", name = "firebase-perf-ktx" }


[plugins]
# Android Gradle Plugins
Expand All @@ -143,3 +152,7 @@ hilt = { id = "com.google.dagger.hilt.android", version.ref = "hilt" }

# Navigation Safe Args Plugin
navigation-safeargs = { id = "androidx.navigation.safeargs.kotlin", version.ref = "androidxNavigation" }

# Firebase 플러그인
google-services = { id = "com.google.gms.google-services", version.ref = "googleServicesPlugin" }
firebase-performance = { id = "com.google.firebase.firebase-perf", version.ref = "firebasePerfPlugin" }
2 changes: 1 addition & 1 deletion presentation/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

android {
namespace = "com.project200.myapp.presentation"
namespace = "com.project200.undabang.presentation"

buildFeatures {
viewBinding = true
Expand Down
Loading