Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1 - 프로젝트 초기 세팅 #2

Merged
merged 3 commits into from
Dec 8, 2024
Merged

#1 - 프로젝트 초기 세팅 #2

merged 3 commits into from
Dec 8, 2024

Conversation

tgyuuAn
Copy link
Member

@tgyuuAn tgyuuAn commented Dec 6, 2024

1. ⭐️ 변경된 내용

  • 커스텀 플러그인
  • CI/CD 추가

2. 🖼️ 스크린샷(선택)

3. 💡 알게된 부분

4. 📌 이 부분은 꼭 봐주세요!

  • 일단 앱 이름이 정해져있지 않아 리스트업에서 "채움" 이라는 이름이 마음에 들어서 그렇게 설정했습니다.
    추후에 이름 정해지면 그걸로 싹 바꿀게용

  • 작업하시기 전에 ./gradlew addKtlintCheckGitPreCommitHook를 터미널에 꼭 입력하고 작업해주세욥
    커밋할 때 마다 ktlintCheck하는 커맨드 입니다!

@tgyuuAn tgyuuAn added 리뷰 원해요🔥 피어의 리뷰를 기다리는 ing.. 🔥 ㅌㄱ태규 ☀️ 훗날 크게될 ENFP 남성, tgyuuAn labels Dec 6, 2024
@tgyuuAn tgyuuAn self-assigned this Dec 6, 2024
@sksowk156 sksowk156 merged commit d21dec6 into develop Dec 8, 2024
1 check passed
Copy link
Contributor

@sksowk156 sksowk156 left a comment

Choose a reason for hiding this comment

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

허허 그렇군요!

}
}

internal fun Project.configureHiltAndroid() {
Copy link
Contributor

Choose a reason for hiding this comment

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

혹시 이 확장 함수를 다른 파일에서도 쓰는건가요?

Copy link
Member Author

@tgyuuAn tgyuuAn Dec 8, 2024

Choose a reason for hiding this comment

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

현재로썬 그렇지 않아용...!

Droidknights 레포지토리 참고해서 만들다보니 요롷게 되었군요

저 부분 굳이 함수로 안빼구 그냥 그레이들에 넣어도 되긴 해요

internal fun Project.configureKotlinAndroid() {
// with(plugins) {
// apply("com.google.gms.google-services")
// }
Copy link
Contributor

Choose a reason for hiding this comment

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

이 주석은 추후에 쓰실려고 남겨두신건가요?

Copy link
Member Author

Choose a reason for hiding this comment

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

넵 나중에 파이어베이스 연동할 때 주석부분 다 풀면 되어용

// implementation(project(":core:analytics"))
// implementation(project(":core:common-ui"))

val libs = project.extensions.libs
Copy link
Contributor

Choose a reason for hiding this comment

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

libs 가 여러 군데서 쓰이는걸 보면 이것도 글로벌하게 뺄 수 있을 것 같은데 혹시 어떻게 생각하시나요?

Copy link
Member Author

Choose a reason for hiding this comment

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

글로벌로 빼면 사용하지 않아도 메모리를 계속 잡고있게 되어요.

정확히 gradle이 어떤 생명주기를 가지는 진 모르겠지만 싱글톤으로 있는 것 보다는 gc에 의해서 메모리가 수거될 수 있도록 최대한 스코프를 좁히는 것이 좋을 것 같아요..!

Copy link
Contributor

Choose a reason for hiding this comment

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

그렇네요 저는 원래 3번이상 중복되면 스코프를 한단계씩 빼두는 습관이 있는데 extensions.libs 자체가 무거운 작업이 아니니 굳이 글로벌하게 뺄 필요는 없을 것 같긴하네요 👍


## AndroidX
# https://developer.android.com/jetpack/androidx/releases/core
androidxCore = "1.13.1"
Copy link
Contributor

Choose a reason for hiding this comment

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

이야 링크까지.... 키야 진짜 섬세하십니다 👍 👍

@tgyuuAn tgyuuAn added 머지 해도될듯염🌟 현재 코드를 기존 코드에 합쳐도 될 것 같다라고 판단..! 🌟 and removed 리뷰 원해요🔥 피어의 리뷰를 기다리는 ing.. 🔥 labels Dec 8, 2024
@tgyuuAn tgyuuAn deleted the base/tgyuu/#1 branch December 8, 2024 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ㅌㄱ태규 ☀️ 훗날 크게될 ENFP 남성, tgyuuAn 머지 해도될듯염🌟 현재 코드를 기존 코드에 합쳐도 될 것 같다라고 판단..! 🌟
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Base]: 프로젝트 초기 세팅 및 CI/CD 추가
2 participants