Skip to content

[ADD/#1] 멀티모듈 프로젝트 초기세팅#2

Merged
Marchbreeze merged 17 commits intodevelopfrom
add/#1-project-setting
Dec 28, 2023
Merged

[ADD/#1] 멀티모듈 프로젝트 초기세팅#2
Marchbreeze merged 17 commits intodevelopfrom
add/#1-project-setting

Conversation

@Marchbreeze
Copy link
Member

⛳️ Work Description

  • gradle 기초 세팅
  • manifest 기초 세팅
  • themes 기초 세팅
  • gradle kts로 전환
  • 모듈 세팅
  • myApp 추가
  • 확장함수 추가
  • binding 기초세팅
  • 디렉토리 별 dummy 파일 만들어두기
  • 타이포 세팅
  • 색상 세팅

📸 Screenshot

2023-12-27_17-23-52

📢 To Reviewers

  • reqres로 서버통신 성공하는지 확인까지 진행했습니닷
  • 타이포랑 색상은 아직 ~~
  • 옐로 선생님들은,,, 제 멀티모듈에 이상이 없는지 확인 한번씩만 해봐주십쇼,,,

@Marchbreeze Marchbreeze self-assigned this Dec 27, 2023
Copy link

@b1urrrr b1urrrr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

코드가 친근해서 좋다!
고잉 화이팅

Comment on lines +22 to +24
private fun setDayMode() {
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO)
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

크 함수화 깔끔하다 👍
당분간 다크모드를 개발할 계획이 없다면 themes.xml (night) 로 분기 처리되어 있는 파일을 아예 제거하는 방법도 있습니당

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

넵!

Copy link

@kkk5474096 kkk5474096 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

아주 좋습니다
내용 확인 플리즈~

Comment on lines 64 to 86
KotlinDependencies.run {
implementation(kotlin)
implementation(coroutines)
implementation(jsonSerialization)
implementation(dateTime)
}

AndroidXDependencies.run {
implementation(coreKtx)
implementation(appCompat)
implementation(constraintLayout)
implementation(fragment)
implementation(startup)
implementation(legacy)
implementation(security)
implementation(hilt)
implementation(lifeCycleKtx)
implementation(lifecycleJava8)
implementation(splashScreen)
implementation(pagingRuntime)
implementation(workManager)
implementation(hiltWorkManager)
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

app module에 있는 라이브러리 의존성들과 presentation에 있는 라이브러리 의존성들이 중복으로 사용되는 부분이 많은데
해당 중복부분을 제거해서 하나로 사용하는 방법을 고민해봐도 좋을 듯~

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

app 모듈은 presentation 의 의존성을 모두 가져올 수 있으니, 아예 presentation에서만 implementation을 관리하면 될까용?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

지금 구조에선 그래도 될것같네요~

Comment on lines +40 to +62
KotlinDependencies.run {
implementation(kotlin)
implementation(coroutines)
implementation(jsonSerialization)
implementation(dateTime)
}

AndroidXDependencies.run {
implementation(coreKtx)
implementation(appCompat)
implementation(constraintLayout)
implementation(fragment)
implementation(startup)
implementation(legacy)
implementation(security)
implementation(hilt)
implementation(lifeCycleKtx)
implementation(lifecycleJava8)
implementation(splashScreen)
implementation(pagingRuntime)
implementation(workManager)
implementation(hiltWorkManager)
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

중복 내용은 위와 동일~
그리고 presentation 모듈을 나눴다는건 feature 별로 안에 하위 모듈들을 추가로 나누어서 진행하는 것으로 알면 될까요?.?
그래야 나눈것에 대한 이점이 있다고 생각합니다~

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

feature들까지 모듈화하면 너무 어려워질 것 같아서,,, 우선은 presentation 모듈을 만들어두는 것까지만 해보려구용

@Marchbreeze Marchbreeze merged commit dd8585b into develop Dec 28, 2023
@Marchbreeze Marchbreeze added 상호 🍀 ADD ➕ 부수적인 코드 추가 및 라이브러리 추가, 새로운 파일 생성 labels Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ADD ➕ 부수적인 코드 추가 및 라이브러리 추가, 새로운 파일 생성 상호 🍀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ADD] 프로젝트 초기 세팅

3 participants

Comments