Skip to content

Commit ecb9ebc

Browse files
committed
[ADD/#1] 프로젝트 초기 파일 추가
1 parent 4108211 commit ecb9ebc

36 files changed

+999
-0
lines changed

.gitignore

+244
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/android,androidstudio,kotlin,java,macos,windows
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=android,androidstudio,kotlin,java,macos,windows
3+
4+
### Android ###
15
# Gradle files
26
.gradle/
37
build/
@@ -15,12 +19,30 @@ captures/
1519
*.apk
1620
output.json
1721

22+
# Android Studio
23+
/*/build/
24+
/*/local.properties
25+
/*/out
26+
/*/*/build
27+
/*/*/production
28+
*.ipr
29+
*~
30+
*.swp
31+
1832
# IntelliJ
1933
*.iml
2034
.idea/
2135
misc.xml
2236
deploymentTargetDropDown.xml
2337
render.experimental.xml
38+
.gradle
39+
/local.properties
40+
/.idea/workspace.xml
41+
/.idea/libraries
42+
.DS_Store
43+
/build
44+
/captures
45+
.externalNativeBuild
2446

2547
# Keystore files
2648
*.jks
@@ -31,3 +53,225 @@ google-services.json
3153

3254
# Android Profiling
3355
*.hprof
56+
57+
### Android Patch ###
58+
gen-external-apklibs
59+
60+
# Replacement of .externalNativeBuild directories introduced
61+
# with Android Studio 3.5.
62+
63+
### Java ###
64+
# Compiled class file
65+
*.class
66+
67+
# Log file
68+
69+
# BlueJ files
70+
*.ctxt
71+
72+
# Mobile Tools for Java (J2ME)
73+
.mtj.tmp/
74+
75+
# Package Files #
76+
*.jar
77+
*.war
78+
*.nar
79+
*.ear
80+
*.zip
81+
*.tar.gz
82+
*.rar
83+
84+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
85+
hs_err_pid*
86+
replay_pid*
87+
88+
### Kotlin ###
89+
# Compiled class file
90+
91+
# Log file
92+
93+
# BlueJ files
94+
95+
# Mobile Tools for Java (J2ME)
96+
97+
# Package Files #
98+
99+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
100+
101+
### macOS ###
102+
# General
103+
.DS_Store
104+
.AppleDouble
105+
.LSOverride
106+
107+
# Icon must end with two \r
108+
Icon
109+
110+
111+
# Thumbnails
112+
._*
113+
114+
# Files that might appear in the root of a volume
115+
.DocumentRevisions-V100
116+
.fseventsd
117+
.Spotlight-V100
118+
.TemporaryItems
119+
.Trashes
120+
.VolumeIcon.icns
121+
.com.apple.timemachine.donotpresent
122+
123+
# Directories potentially created on remote AFP share
124+
.AppleDB
125+
.AppleDesktop
126+
Network Trash Folder
127+
Temporary Items
128+
.apdisk
129+
130+
### macOS Patch ###
131+
# iCloud generated files
132+
*.icloud
133+
134+
### Windows ###
135+
# Windows thumbnail cache files
136+
Thumbs.db
137+
Thumbs.db:encryptable
138+
ehthumbs.db
139+
ehthumbs_vista.db
140+
141+
# Dump file
142+
*.stackdump
143+
144+
# Folder config file
145+
[Dd]esktop.ini
146+
147+
# Recycle Bin used on file shares
148+
$RECYCLE.BIN/
149+
150+
# Windows Installer files
151+
*.cab
152+
*.msi
153+
*.msix
154+
*.msm
155+
*.msp
156+
157+
# Windows shortcuts
158+
*.lnk
159+
160+
### AndroidStudio ###
161+
# Covers files to be ignored for android development using Android Studio.
162+
163+
# Built application files
164+
*.ap_
165+
*.aab
166+
167+
# Files for the ART/Dalvik VM
168+
*.dex
169+
170+
# Java class files
171+
172+
# Generated files
173+
bin/
174+
gen/
175+
out/
176+
177+
# Gradle files
178+
.gradle
179+
180+
# Signing files
181+
.signing/
182+
183+
# Local configuration file (sdk path, etc)
184+
185+
# Proguard folder generated by Eclipse
186+
proguard/
187+
188+
# Log Files
189+
190+
# Android Studio
191+
/*/build/
192+
/*/local.properties
193+
/*/out
194+
/*/*/build
195+
/*/*/production
196+
.navigation/
197+
*.ipr
198+
*~
199+
*.swp
200+
201+
# Keystore files
202+
203+
# Google Services (e.g. APIs or Firebase)
204+
# google-services.json
205+
206+
# Android Patch
207+
208+
# External native build folder generated in Android Studio 2.2 and later
209+
.externalNativeBuild
210+
211+
# NDK
212+
obj/
213+
214+
# IntelliJ IDEA
215+
*.iws
216+
/out/
217+
218+
# User-specific configurations
219+
.idea/caches/
220+
.idea/libraries/
221+
.idea/shelf/
222+
.idea/workspace.xml
223+
.idea/tasks.xml
224+
.idea/.name
225+
.idea/compiler.xml
226+
.idea/copyright/profiles_settings.xml
227+
.idea/encodings.xml
228+
.idea/misc.xml
229+
.idea/modules.xml
230+
.idea/scopes/scope_settings.xml
231+
.idea/dictionaries
232+
.idea/vcs.xml
233+
.idea/jsLibraryMappings.xml
234+
.idea/datasources.xml
235+
.idea/dataSources.ids
236+
.idea/sqlDataSources.xml
237+
.idea/dynamic.xml
238+
.idea/uiDesigner.xml
239+
.idea/assetWizardSettings.xml
240+
.idea/gradle.xml
241+
.idea/jarRepositories.xml
242+
.idea/navEditor.xml
243+
244+
# Legacy Eclipse project files
245+
.classpath
246+
.project
247+
.cproject
248+
.settings/
249+
250+
# Mobile Tools for Java (J2ME)
251+
252+
# Package Files #
253+
254+
# virtual machine crash logs (Reference: http://www.java.com/en/download/help/error_hotspot.xml)
255+
256+
## Plugin-specific files:
257+
258+
# mpeltonen/sbt-idea plugin
259+
.idea_modules/
260+
261+
# JIRA plugin
262+
atlassian-ide-plugin.xml
263+
264+
# Mongo Explorer plugin
265+
.idea/mongoSettings.xml
266+
267+
# Crashlytics plugin (for Android Studio and IntelliJ)
268+
com_crashlytics_export_strings.xml
269+
crashlytics.properties
270+
crashlytics-build.properties
271+
fabric.properties
272+
273+
### AndroidStudio Patch ###
274+
275+
!/gradle/wrapper/gradle-wrapper.jar
276+
277+
# End of https://www.toptal.com/developers/gitignore/api/android,androidstudio,kotlin,java,macos,windows

app/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

app/build.gradle

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
plugins {
2+
id 'com.android.application'
3+
id 'org.jetbrains.kotlin.android'
4+
}
5+
6+
android {
7+
namespace 'com.yello'
8+
compileSdk 33
9+
10+
defaultConfig {
11+
applicationId "com.yello"
12+
minSdk 28
13+
targetSdk 33
14+
versionCode 1
15+
versionName "1.0"
16+
17+
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
18+
}
19+
20+
buildTypes {
21+
release {
22+
minifyEnabled false
23+
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
24+
}
25+
}
26+
compileOptions {
27+
sourceCompatibility JavaVersion.VERSION_17
28+
targetCompatibility JavaVersion.VERSION_17
29+
}
30+
kotlinOptions {
31+
jvmTarget = '17'
32+
}
33+
}
34+
35+
dependencies {
36+
37+
implementation 'androidx.core:core-ktx:1.8.0'
38+
implementation 'androidx.appcompat:appcompat:1.6.1'
39+
implementation 'com.google.android.material:material:1.5.0'
40+
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
41+
testImplementation 'junit:junit:4.13.2'
42+
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
43+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
44+
}

app/proguard-rules.pro

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Add project specific ProGuard rules here.
2+
# You can control the set of applied configuration files using the
3+
# proguardFiles setting in build.gradle.
4+
#
5+
# For more details, see
6+
# http://developer.android.com/guide/developing/tools/proguard.html
7+
8+
# If your project uses WebView with JS, uncomment the following
9+
# and specify the fully qualified class name to the JavaScript interface
10+
# class:
11+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12+
# public *;
13+
#}
14+
15+
# Uncomment this to preserve the line number information for
16+
# debugging stack traces.
17+
#-keepattributes SourceFile,LineNumberTable
18+
19+
# If you keep the line number information, uncomment this to
20+
# hide the original source file name.
21+
#-renamesourcefileattribute SourceFile
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
package com.yello
2+
3+
import androidx.test.platform.app.InstrumentationRegistry
4+
import androidx.test.ext.junit.runners.AndroidJUnit4
5+
6+
import org.junit.Test
7+
import org.junit.runner.RunWith
8+
9+
import org.junit.Assert.*
10+
11+
/**
12+
* Instrumented test, which will execute on an Android device.
13+
*
14+
* See [testing documentation](http://d.android.com/tools/testing).
15+
*/
16+
@RunWith(AndroidJUnit4::class)
17+
class ExampleInstrumentedTest {
18+
@Test
19+
fun useAppContext() {
20+
// Context of the app under test.
21+
val appContext = InstrumentationRegistry.getInstrumentation().targetContext
22+
assertEquals("com.yello", appContext.packageName)
23+
}
24+
}

app/src/main/AndroidManifest.xml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:tools="http://schemas.android.com/tools">
4+
5+
<application
6+
android:allowBackup="true"
7+
android:dataExtractionRules="@xml/data_extraction_rules"
8+
android:fullBackupContent="@xml/backup_rules"
9+
android:icon="@mipmap/ic_launcher"
10+
android:label="@string/app_name"
11+
android:roundIcon="@mipmap/ic_launcher_round"
12+
android:supportsRtl="true"
13+
android:theme="@style/Theme.YELLO"
14+
tools:targetApi="31">
15+
<activity
16+
android:name=".MainActivity"
17+
android:exported="true">
18+
<intent-filter>
19+
<action android:name="android.intent.action.MAIN" />
20+
21+
<category android:name="android.intent.category.LAUNCHER" />
22+
</intent-filter>
23+
</activity>
24+
</application>
25+
26+
</manifest>

0 commit comments

Comments
 (0)