-
Notifications
You must be signed in to change notification settings - Fork 0
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
[init] 프로젝트 기초 세팅 #2
Merged
+2,701
−0
Merged
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
1b24862
[init] #1 set .gitignore
jihyunniiii 1f2b6b3
[init] #1 create project
jihyunniiii 5eb41de
[docs] #1 Update issue templates
jihyunniiii 370cdf0
[docs] #1 Create pull_request_template.md
jihyunniiii 0308bf2
[init] #1 add CODEOWNERS
jihyunniiii 4c5b826
[feat] #1 set internet permission
jihyunniiii c0b17f6
[feat] #1 화면 회전 방지
jihyunniiii ad59322
[feat] #1 create DateRoadApp.kt
jihyunniiii a58adb0
[feat] #1 Dependency 정렬
jihyunniiii f03c455
[feat] #1 Dependency 추가
jihyunniiii bd4b6c1
[feat] #1 setting Sentry
jihyunniiii 845b547
[feat] #1 setting Timber, darkMode
jihyunniiii e5d0f4e
[feat] #1 setting base url
jihyunniiii 5f28403
[feat] #1 add baseResponse
jihyunniiii beb488e
[feat] #1 set usesCleartextTraffic
jihyunniiii 4e05bc6
[feat] #1 set di Module
jihyunniiii b946014
[feat] #1 create Api Constraint
jihyunniiii 65817d8
[feat] #1 add dummy file (remote)
jihyunniiii a93246c
[feat] #1 add dummy file (local)
jihyunniiii 2c7c734
[feat] #1 add libs (androidx-security)
jihyunniiii a2448d5
[feat] #1 add dummy (multipart)
jihyunniiii 232845e
[feat] #1 add dummy (post)
jihyunniiii b82a337
[feat] #1 add util
jihyunniiii bc1f5ac
[chore] #1 change naming (dummyModel -> dummy)
jihyunniiii fe71c4e
[feat] #1 setting navigation
jihyunniiii 4a7a254
[feat] #1 add libs (HiltNavigationCompose)
jihyunniiii be3e5e9
[feat] #1 add dummyScreen Navigation
jihyunniiii 91b80ef
[feat] #1 add libs(androidx-lifecycle-runtime-compose-android)
jihyunniiii 3df1494
[feat] #1 base for MVI
jihyunniiii e3de1ec
[feat] #1 create ContentResolverModule
jihyunniiii d54a853
[feat] #1 add dummy (mvi)
jihyunniiii 2c0a8ad
[chore] #1 ktlintFormat
jihyunniiii f931f1a
[feat] #1 ci (ktlint)
jihyunniiii 5f80088
[chore] #1 pr_builder.yml (JDK version)
jihyunniiii c56cf33
[chore] #1 ktlintFormat
jihyunniiii 6141bd0
[chore] #1 pr_builder.yml (JDK version)
jihyunniiii 524e282
[feat] #1 cd
jihyunniiii eba71c0
[chore] #1 release_test.yml (version)
jihyunniiii b5fdd11
[chore] #1 release_test.yml (local.properties)
jihyunniiii 2591bc4
[chore] #1 release_test.yml (version)
jihyunniiii 1cff3ec
[chore] #1 release_test.yml (channel_id -> channels)
jihyunniiii d841e1c
[chore] #1 release_test.yml (uses version)
jihyunniiii dd55561
[chore] #1 release_test.yml (uses version)
jihyunniiii 0400ad8
Merge remote-tracking branch 'origin/init-project-setting' into init-…
jihyunniiii d06ecf2
[chore] #1 release_test.yml (channel_id)
jihyunniiii 6db1dae
[chore] #1 release_test.yml (release test only push)
jihyunniiii File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
root = true | ||
|
||
[*] | ||
max_line_length = off | ||
|
||
[*.{kt,kts}] | ||
ktlint_function_naming_ignore_when_annotated_with=Composable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @TeamDATEROAD/DATEROAD-ANDROID |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
name: ISSUE_TEMPLATE | ||
about: "기능, UI, 문서 개선 및 추가 요청을 위한 템플릿입니다 \U0001F680" | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
## What is this issue? 🛠 | ||
|
||
## Progress 🏃♀️ | ||
- [ ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
## Related issue 🛠 | ||
- closed #이슈넘버 | ||
|
||
## Work Description ✏️ | ||
- 작업 내용 | ||
|
||
## Screenshot 📸 | ||
<img src="" width="360"/> | ||
|
||
## Uncompleted Tasks 😅 | ||
- [ ] Task1 | ||
|
||
## To Reviewers 📢 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
name: DATEROAD PR Builder | ||
on: | ||
pull_request: | ||
branches: [ develop, main ] | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
working-directory: . | ||
|
||
jobs: | ||
build: | ||
name: PR Checker | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Gradle cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/.gradle/caches | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
|
||
- name: set up JDK 17 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 17 | ||
|
||
- name: Change gradlew permissions | ||
run: chmod +x ./gradlew | ||
|
||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
|
||
- name: Touch local properties | ||
run: touch local.properties | ||
|
||
- name: Decode google-services.json | ||
env: | ||
FIREBASE_SECRET: ${{ secrets.FIREBASE_SECRET }} | ||
run: echo $FIREBASE_SECRET > app/google-services.json | ||
|
||
- name: Access local properties | ||
env: | ||
HFM_BASE_URL: ${{ secrets.BASE_URL }} | ||
IO_SENTRY_TOKEN: ${{ secrets.IO_SENTRY_DSN }} | ||
KAKAO_NATIVE_APP_KEY_MANIFEST: ${{ secrets.KAKAO_NATIVE_APP_KEY }} | ||
KAKAO_NATIVE_APP_KEY: ${{ secrets.KAKAO_NATIVE_APP_KEY }} | ||
run: | | ||
echo "dev.base.url=\"$BASE_URL\"" >> local.properties | ||
echo "io.sentry.dsn=\"$IO_SENTRY_DSN\"" >> local.properties | ||
echo "kakao.native.app.key.manifest=\"$KAKAO_NATIVE_APP_KEY_MANIFEST\"" >> local.properties | ||
echo "kakao.native.app.key=\"$KAKAO_NATIVE_APP_KEY\"" >> local.properties | ||
|
||
- name: Access sentry properties | ||
env: | ||
DEFAULTS_ORG: ${{ secrets.DEFAULTS_ORG }} | ||
DEFAULTS_PROJECT: ${{ secrets.DEFAULTS_PROJECT }} | ||
run: | | ||
echo "defaults.org=$DEFAULTS_ORG" >> sentry.properties | ||
echo "defaults.project=$DEFAULTS_PROJECT" >> sentry.properties | ||
|
||
- name: Lint Check | ||
run: ./gradlew ktlintCheck -PcompileSdkVersion=34 | ||
|
||
- name: Build with Gradle | ||
run: ./gradlew build -PcompileSdkVersion=34 | ||
|
||
- name: Slack Notify - Success | ||
if: ${{ success() }} | ||
uses: rtCamp/action-slack-notify@v2 | ||
env: | ||
SLACK_COLOR: '#B7FF1D' | ||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
SLACK_TITLE: '✅ PR Success ✅' | ||
SLACK_USERNAME: DATEROAD-ANDROID 🍫 | ||
SLACK_MESSAGE: 'PR이 완료되었습니다! 👩❤️👨' | ||
|
||
- name: Slack Notify - Failure | ||
if: ${{ failure() }} | ||
uses: rtCamp/action-slack-notify@v2 | ||
env: | ||
SLACK_COLOR: '#FF9254' | ||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
SLACK_TITLE: '❌ PR Failed ❌' | ||
SLACK_USERNAME: DATEROAD-ANDROID 🍫 | ||
SLACK_MESSAGE: '에러를 확인해 주세요 🫨' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
name: DATEROAD Release Test | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
working-directory: . | ||
|
||
jobs: | ||
build: | ||
name: Release Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Gradle cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.gradle/caches | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
|
||
- name: set up JDK 17 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 17 | ||
|
||
- name: Change gradlew permissions | ||
run: chmod +x ./gradlew | ||
|
||
- name: Touch local properties | ||
run: touch local.properties | ||
|
||
- name: Decode google-services.json | ||
env: | ||
FIREBASE_SECRET: ${{ secrets.FIREBASE_SECRET }} | ||
run: echo $FIREBASE_SECRET > app/google-services.json | ||
|
||
- name: Access local properties | ||
env: | ||
HFM_BASE_URL: ${{ secrets.BASE_URL }} | ||
IO_SENTRY_TOKEN: ${{ secrets.IO_SENTRY_DSN }} | ||
KAKAO_NATIVE_APP_KEY_MANIFEST: ${{ secrets.KAKAO_NATIVE_APP_KEY }} | ||
KAKAO_NATIVE_APP_KEY: ${{ secrets.KAKAO_NATIVE_APP_KEY }} | ||
run: | | ||
echo "dev.base.url=\"$BASE_URL\"" >> local.properties | ||
echo "io.sentry.dsn=\"$IO_SENTRY_DSN\"" >> local.properties | ||
echo "kakao.native.app.key.manifest=\"$KAKAO_NATIVE_APP_KEY_MANIFEST\"" >> local.properties | ||
echo "kakao.native.app.key=\"$KAKAO_NATIVE_APP_KEY\"" >> local.properties | ||
|
||
- name: Access sentry properties | ||
env: | ||
DEFAULTS_ORG: ${{ secrets.DEFAULTS_ORG }} | ||
DEFAULTS_PROJECT: ${{ secrets.DEFAULTS_PROJECT }} | ||
run: | | ||
echo "defaults.org=$DEFAULTS_ORG" >> sentry.properties | ||
echo "defaults.project=$DEFAULTS_PROJECT" >> sentry.properties | ||
|
||
- name: Build debug APK | ||
run: ./gradlew assembleDebug --stacktrace | ||
|
||
- name: Slack Notify - Success | ||
if: ${{ success() }} | ||
uses: MeilCli/slack-upload-file@v3 | ||
with: | ||
slack_token: ${{ secrets.SLACK_BOT_TOKEN }} | ||
channel_id: ${{ secrets.SLACK_CHANNEL_DEPLOY }} | ||
file_path: 'app/build/outputs/apk/debug/app-debug.apk' | ||
file_name: 'DATEROAD-ANDROID.apk' | ||
file_type: 'apk' | ||
initial_comment: 'Release Test가 완료되었습니다! 🔥' | ||
|
||
- name: Slack Notify - Failure | ||
if: ${{ failure() }} | ||
uses: rtCamp/action-slack-notify@v2 | ||
env: | ||
SLACK_COLOR: '#FF9254' | ||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
SLACK_TITLE: '❌ Release Test Failed ❌' | ||
SLACK_USERNAME: DATEROAD-ANDROID 🍫 | ||
SLACK_MESSAGE: '에러를 확인해 주세요 🫨' |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
그녀는 정말 야무지다.. 무려 템플릿까지...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
우하하