Android 프로젝트를 GitHub에 올릴 때의 템플릿 (gitignore 또는 commit 템플릿 등)
Android 스튜디오 템플릿
Android 스튜디오 프로젝트 파일을 Github에 올릴 때 자주 사용하는 파일을 비망록적으로 둡니다.
원래 GitHub의 READ.md에 썼기 때문에 여기에서 올릴 때
htps : // 기주 b. 코 m / b ㅅ 928 스키 / 안 d 로이 dS
템플릿
희귀 D. MD
희귀 D 째. MD
README.md 템플릿
Google Play 스토어 URL 및 앱 이름, 간략한 설명, 자세한 설명을 작성
READ.md## Google Play Store
https://play.google.com/store/apps/details?id={package id}
## アプリ名
## 簡単な説明
## 詳しい説明
README.md.vm
README.md.vm
.vm으로 저장할 필요 없음
안드로이드 스튜디오는 아파치 벨로시티에서 새로운 파일을 만들 수 있기 때문에 그것을 만들었습니다.
희귀 D. MD
희귀 D 째. MD
README.md 템플릿
Google Play 스토어 URL 및 앱 이름, 간략한 설명, 자세한 설명을 작성
READ.md
## Google Play Store
https://play.google.com/store/apps/details?id={package id}
## アプリ名
## 簡単な説明
## 詳しい説明
README.md.vm
README.md.vm
.vm으로 저장할 필요 없음
안드로이드 스튜디오는 아파치 벨로시티에서 새로운 파일을 만들 수 있기 때문에 그것을 만들었습니다.
Name을
README
, Extension을 md
, File name을 README
로 하면 README.md를 마음대로 생성해 준다 ※Reformat according to style의 체크를 해제하지 않으면 2행째가 어긋난다
#[[##]]# Google Play Store
https://play.google.com/store/apps/details?id=com.sample.${PROJECT_NAME.toLowerCase()}
# id以降は自身の環境に合わせて
#[[##]]# アプリ名
#[[##]]# 簡単な説明
#[[##]]# 詳しい説明
.commit_template
.commit_template
GitHub 커밋 메시지 템플릿
파일 이름은 무엇이든 좋다
.commit_template
# ==== Emojis ====
# 🐛 :bug: fix: バグ修正
# 🔧 :wrench: modify: 機能改善
# ♻ :recycle: refactor: リファクタリング
# 📝 :memo: docs: ドキュメント変更
# 🎨 :art: style: フォーマットや構造改善
# 🔥 :fire: remove: 不要な機能・ファイルの削除
# ✨ :sparkles: feat: 部分的な機能追加
# 🍰 :cake: chore: 自動生成されたファイル
# 🌱 :seedling: init commit: 初期コミット
# 🧪 :test_tube: test: テストやCIの修正・改善
# 👕 :shirt: lint: Lintエラーの修正やコードスタイルの修正
# 🚀️ :rocket: perf: パフォーマンス改善
# 🆙 :up: update: 依存パッケージなどのアップデート
# 🚧 :construction: wip: 作業中
# ==== Format ====
# :emoji:prefix: Subject
#
# Commit body...
Android 스튜디오에서
$git config commit.template {file name}
내가 나오지 않기 때문에 (vim이 나오는데 VCS 커밋 대화 상자에는 반영되지 않습니다.) Plugins에서 Git Commit Message Helper
이모티콘만 사용하고 싶은 사람은 Git Commit Guide 라든지 있고, 수수께끼에 이 Prefix에 사용하는 것을 추천해 주기 때문에 사용하기 쉽다
템플릿 등록 등은 없다
.gitignore
.gitignore
기본은 안드로이드 스튜디오가 자동 생성하는 것인가
.jks
파일, google-services.json
를 시작한다만약을 위해
.aab
.idea/
나는 솔직하지 않더라도 어떻게 든 될 것이라고 생각하지만, 어느 쪽이든 괜찮다는 의미에서 미세하게 시작하지 않습니다..gitignore
# 自動生成
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
.cxx
local.properties
# built application files
*.apk
*.ap_
*.aab
# files for the dex VM
*.dex
# Java class files
*.class
# generated files
bin/
gen/
# Ignore gradle files
.gradle/
build/
# Local configuration file (sdk path, etc)
# local.properties
# Proguard folder generated by Eclipse
proguard/
# Eclipse Metadata
.metadata/
# Mac OS X clutter
*.DS_Store
# Windows clutter
Thumbs.db
# Intellij IDEA (see https://intellij-support.jetbrains.com/entries/23393067)
.idea/workspace.xml
.idea/tasks.xml
.idea/datasources.xml
.idea/dataSources.ids
# 追加
google-services.json
*.jks
덤 (템플릿이 아니지만)
p 로그 아 rd- ぇ s. p 여
p 로그 아 rd- ぇ s. p 여
난독 화에 문제가있는 경우
app/
에 proguard-rules.pro를 설치하고 app/build.gradle
# {flavor} は release とか debug とかビルドタイプを記入
android {
buildTypes {
{flavor} {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
# shrinkResourcesは重複リソースを結合してくれる
shrinkResources true
}
}
}
작성해야합니다.
proguard-rules.pro
# Gson使っている場合
# dataクラスをJson変換するとおかしくなるため
-keepnames class com.sample.path.* { *; }
# Firebase Crashlytics使ってる場合
# consoleで行数やクラス名が難読化のままで見づらいため
-keepattributes SourceFile,LineNumberTable
Reference
이 문제에 관하여(Android 프로젝트를 GitHub에 올릴 때의 템플릿 (gitignore 또는 commit 템플릿 등)), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/blue928sky/items/d98153a0964301aced74텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)