Skip to content

Commit

Permalink
[MERGE] #302 -> develop
Browse files Browse the repository at this point in the history
[REFACTOR/#302] 빌드로직 구현 및 구조 수정
  • Loading branch information
leeeyubin authored Dec 5, 2024
2 parents d4ad93f + 4d382d8 commit 9e12f9e
Show file tree
Hide file tree
Showing 611 changed files with 5,188 additions and 1,731 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dokka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ jobs:
uses: JamesIves/[email protected]
with:
BRANCH: gh-pages
FOLDER: core/build/dokka/html
FOLDER: core/designsystem/build/dokka/html
75 changes: 44 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,60 +33,73 @@
<br>

## DEPENDENCY GRAPH
<img width="300px" src="https://github.com/user-attachments/assets/9f730e35-2ecf-4d1f-a170-e08a4836fe8a"/>

<img src="https://github.com/user-attachments/assets/0d88e4fe-b170-4aae-83e6-c9017b2bc893"/>

## MODULE & PACKAGE CONVENTION

```
🗃️app
┗ 📂di
🗃️build-logic
┣ 📂️convention
┗ 📂extension
🗃️core
📂analytics
📂designsystem
🗃️analytics
🗃️designsystem
┃ ┣ 📂component
┃ ┣ 📂extension
┃ ┣ 📂state
┃ ┣ 📂theme
┣ 📂extension
┣ 📂navigation
📂state
📂type
📂util
┣ 📂type
┣ 📂util
🗃️local
🗃️navigation
🗃️network
🗃️data
┣ 📂datasource
┣ 📂datasourceImpl
┣ 📂dto
┃ ┣ 📂response
┃ ┣ 📂request
┣ 📂local
┣ 📂mapper
┣ 📂repositoryImpl
┗ 📂service
┣ 🗃️auth
┣ 🗃️calendar
┣ 🗃️filtering
┣ 🗃️home
┣ 🗃️intern
┣ 🗃️mypage
┣ 🗃️scrap
┣ 🗃️search
┣ 🗃️token
┗ 🗃️tokenreissue
🗃️domain
┣ 📂entity
┗ 📂repository
┣ 🗃️auth
┣ 🗃️calendar
┣ 🗃️filtering
┣ 🗃️home
┣ 🗃️intern
┣ 🗃️mypage
┣ 🗃️scrap
┣ 🗃️search
┣ 🗃️token
┗ 🗃️tokenreissue
🗃️feature
📂기능패키징
🗃️기능모듈화
```

<br>

## TECH STACK
| Title | Content |
| ------------ | -------------------------- |
| Title | Content |
| ------------ |---------------------------------------|
| Architecture | Clean Architecture, MVI, Multi-Module |
| UI Framework | Jetpack Compose |
| Build Tools | Gradle Version Catalog |
| Dependency Injection | Hilt |
| Network | Retrofit2, OkHttp |
| Asynchronous Processing | Coroutine, Flow |
| Third Party Library | Coil, Timber, Kakao SDK, Lottie |
| Other Tools | Discode, Notion, Figma |\
| UI Framework | Jetpack Compose |
| Build Tools | Custom Build Logic, Gradle Version Catalog |
| Dependency Injection | Hilt |
| Network | Retrofit2, OkHttp |
| Asynchronous Processing | Coroutine, Flow |
| Third Party Library | Coil, Timber, Kakao SDK, Lottie |
| Other Tools | Discode, Notion, Figma |\
</br>

## SCREENSHOTS
Expand Down
85 changes: 16 additions & 69 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
import java.util.Properties
import com.terning.build_logic.extension.setNamespace

plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.hilt)
alias(libs.plugins.kotlin.parcelize)
alias(libs.plugins.ksp)
alias(libs.plugins.terning.application)
}

val properties = Properties().apply {
Expand All @@ -22,7 +19,7 @@ android {
}
}

namespace = "com.terning.point"
setNamespace("point")
compileSdk = libs.versions.compileSdk.get().toInt()

defaultConfig {
Expand All @@ -47,19 +44,7 @@ android {
}

buildTypes {
debug {
buildConfigField(
"String",
"BASE_URL",
properties.getProperty("test.base.url")
)
}
release {
buildConfigField(
"String",
"BASE_URL",
properties.getProperty("base.url")
)
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
Expand All @@ -68,71 +53,33 @@ android {
signingConfig = signingConfigs.getByName("release")
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = libs.versions.jvmTarget.get()
}
buildFeatures {
compose = true
buildConfig = true
}
composeOptions {
kotlinCompilerExtensionVersion = libs.versions.kotlinCompilerExtensionVersion.get()
}
packaging {
resources {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
excludes += "/META-INF/gradle/incremental.annotation.processors"
}
}
}

dependencies {
implementation(project(":core"))
implementation(project(":data"))
implementation(project(":domain"))
implementation(project(":feature"))

// KotlinDependencies
implementation(libs.kotlinx.serialization.json)
implementation(libs.coroutines.android)
implementation(libs.kotlin)

// AndroidXDependencies
implementation(libs.androidx.core.ktx)
implementation(libs.androidx.appcompat)
implementation(libs.hilt.android)
ksp(libs.hilt.android.compiler)
ksp(libs.hilt.manager)
implementation(libs.androidx.workManager)
implementation(libs.androidx.hiltWorkManager)
implementation(libs.hilt.compiler)
implementation(libs.androidx.hiltWorkManagerCompiler)
// feature
implementation(project(":feature:main"))

// TestDependencies
testImplementation(libs.junit)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)
androidTestImplementation(platform(libs.androidx.compose.bom))
androidTestImplementation(libs.androidx.ui.test.junit4)
// data
implementation(project(":data:auth"))
implementation(project(":data:calendar"))
implementation(project(":data:filtering"))
implementation(project(":data:home"))
implementation(project(":data:intern"))
implementation(project(":data:mypage"))
implementation(project(":data:scrap"))
implementation(project(":data:token"))
implementation(project(":data:tokenreissue"))
implementation(project(":data:search"))

// ThirdPartyDependencies
implementation(platform(libs.okhttp.bom))
implementation(libs.okhttp)
implementation(libs.okhttp.logging)
implementation(libs.retrofit.core)
implementation(libs.retrofit.kotlin.serialization)
implementation(libs.retrofit2.kotlinx.serialization.converter)
implementation(libs.timber)
implementation(libs.ossLicense)
implementation(libs.process.phoenix)

// Compose Preview
implementation(libs.compose.ui.tooling)

// KakaoDependencies
implementation(libs.kakao.user)
}
68 changes: 0 additions & 68 deletions app/src/main/java/com/terning/point/di/DataSourceModule.kt

This file was deleted.

72 changes: 0 additions & 72 deletions app/src/main/java/com/terning/point/di/RepositoryModule.kt

This file was deleted.

Loading

0 comments on commit 9e12f9e

Please sign in to comment.