Skip to content

Commit b2cecb4

Browse files
committed
Init: 프로젝트 초기 생성
0 parents  commit b2cecb4

39 files changed

Lines changed: 1118 additions & 0 deletions

.github/.gitkeep

Whitespace-only changes.

.gitignore

Lines changed: 220 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,220 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/macos,kotlin,android,androidstudio
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=macos,kotlin,android,androidstudio
3+
4+
### Android ###
5+
# Gradle files
6+
.gradle/
7+
build/
8+
9+
# Local configuration file (sdk path, etc)
10+
local.properties
11+
12+
# Log/OS Files
13+
*.log
14+
15+
# Android Studio generated files and folders
16+
captures/
17+
.externalNativeBuild/
18+
.cxx/
19+
*.apk
20+
output.json
21+
22+
# IntelliJ
23+
*.iml
24+
.idea/
25+
misc.xml
26+
deploymentTargetDropDown.xml
27+
render.experimental.xml
28+
29+
# Keystore files
30+
*.jks
31+
*.keystore
32+
33+
# Google Services (e.g. APIs or Firebase)
34+
google-services.json
35+
36+
# Android Profiling
37+
*.hprof
38+
39+
### Android Patch ###
40+
gen-external-apklibs
41+
42+
# Replacement of .externalNativeBuild directories introduced
43+
# with Android Studio 3.5.
44+
45+
### Kotlin ###
46+
# Compiled class file
47+
*.class
48+
49+
# Log file
50+
51+
# BlueJ files
52+
*.ctxt
53+
54+
# Mobile Tools for Java (J2ME)
55+
.mtj.tmp/
56+
57+
# Package Files #
58+
*.jar
59+
*.war
60+
*.nar
61+
*.ear
62+
*.zip
63+
*.tar.gz
64+
*.rar
65+
66+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
67+
hs_err_pid*
68+
replay_pid*
69+
70+
### macOS ###
71+
# General
72+
.DS_Store
73+
.AppleDouble
74+
.LSOverride
75+
76+
# Icon must end with two \r
77+
Icon
78+
79+
80+
# Thumbnails
81+
._*
82+
83+
# Files that might appear in the root of a volume
84+
.DocumentRevisions-V100
85+
.fseventsd
86+
.Spotlight-V100
87+
.TemporaryItems
88+
.Trashes
89+
.VolumeIcon.icns
90+
.com.apple.timemachine.donotpresent
91+
92+
# Directories potentially created on remote AFP share
93+
.AppleDB
94+
.AppleDesktop
95+
Network Trash Folder
96+
Temporary Items
97+
.apdisk
98+
99+
### macOS Patch ###
100+
# iCloud generated files
101+
*.icloud
102+
103+
### AndroidStudio ###
104+
# Covers files to be ignored for android development using Android Studio.
105+
106+
# Built application files
107+
*.ap_
108+
*.aab
109+
110+
# Files for the ART/Dalvik VM
111+
*.dex
112+
113+
# Java class files
114+
115+
# Generated files
116+
bin/
117+
gen/
118+
out/
119+
120+
# Gradle files
121+
.gradle
122+
123+
# Signing files
124+
.signing/
125+
126+
# Local configuration file (sdk path, etc)
127+
128+
# Proguard folder generated by Eclipse
129+
proguard/
130+
131+
# Log Files
132+
133+
# Android Studio
134+
/*/build/
135+
/*/local.properties
136+
/*/out
137+
/*/*/build
138+
/*/*/production
139+
.navigation/
140+
*.ipr
141+
*~
142+
*.swp
143+
144+
# Keystore files
145+
146+
# Google Services (e.g. APIs or Firebase)
147+
# google-services.json
148+
149+
# Android Patch
150+
151+
# External native build folder generated in Android Studio 2.2 and later
152+
.externalNativeBuild
153+
154+
# NDK
155+
obj/
156+
157+
# IntelliJ IDEA
158+
*.iws
159+
/out/
160+
161+
# User-specific configurations
162+
.idea/caches/
163+
.idea/libraries/
164+
.idea/shelf/
165+
.idea/workspace.xml
166+
.idea/tasks.xml
167+
.idea/.name
168+
.idea/compiler.xml
169+
.idea/copyright/profiles_settings.xml
170+
.idea/encodings.xml
171+
.idea/misc.xml
172+
.idea/modules.xml
173+
.idea/scopes/scope_settings.xml
174+
.idea/dictionaries
175+
.idea/vcs.xml
176+
.idea/jsLibraryMappings.xml
177+
.idea/datasources.xml
178+
.idea/dataSources.ids
179+
.idea/sqlDataSources.xml
180+
.idea/dynamic.xml
181+
.idea/uiDesigner.xml
182+
.idea/assetWizardSettings.xml
183+
.idea/gradle.xml
184+
.idea/jarRepositories.xml
185+
.idea/navEditor.xml
186+
187+
# Legacy Eclipse project files
188+
.classpath
189+
.project
190+
.cproject
191+
.settings/
192+
193+
# Mobile Tools for Java (J2ME)
194+
195+
# Package Files #
196+
197+
# virtual machine crash logs (Reference: http://www.java.com/en/download/help/error_hotspot.xml)
198+
199+
## Plugin-specific files:
200+
201+
# mpeltonen/sbt-idea plugin
202+
.idea_modules/
203+
204+
# JIRA plugin
205+
atlassian-ide-plugin.xml
206+
207+
# Mongo Explorer plugin
208+
.idea/mongoSettings.xml
209+
210+
# Crashlytics plugin (for Android Studio and IntelliJ)
211+
com_crashlytics_export_strings.xml
212+
crashlytics.properties
213+
crashlytics-build.properties
214+
fabric.properties
215+
216+
### AndroidStudio Patch ###
217+
218+
!/gradle/wrapper/gradle-wrapper.jar
219+
220+
# End of https://www.toptal.com/developers/gitignore/api/macos,kotlin,android,androidstudio

app/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

app/build.gradle.kts

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
plugins {
2+
alias(libs.plugins.android.application)
3+
alias(libs.plugins.kotlin.android)
4+
alias(libs.plugins.kotlin.compose)
5+
}
6+
7+
android {
8+
namespace = "com.threegap.bitnagil"
9+
compileSdk = 35
10+
11+
defaultConfig {
12+
applicationId = "com.threegap.bitnagil"
13+
minSdk = 28
14+
targetSdk = 35
15+
versionCode = 1
16+
versionName = "1.0"
17+
18+
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
19+
}
20+
21+
buildTypes {
22+
release {
23+
isMinifyEnabled = false
24+
proguardFiles(
25+
getDefaultProguardFile("proguard-android-optimize.txt"),
26+
"proguard-rules.pro"
27+
)
28+
}
29+
}
30+
compileOptions {
31+
sourceCompatibility = JavaVersion.VERSION_11
32+
targetCompatibility = JavaVersion.VERSION_11
33+
}
34+
kotlinOptions {
35+
jvmTarget = "11"
36+
}
37+
buildFeatures {
38+
compose = true
39+
}
40+
}
41+
42+
dependencies {
43+
44+
implementation(libs.androidx.core.ktx)
45+
implementation(libs.androidx.lifecycle.runtime.ktx)
46+
implementation(libs.androidx.activity.compose)
47+
implementation(platform(libs.androidx.compose.bom))
48+
implementation(libs.androidx.ui)
49+
implementation(libs.androidx.ui.graphics)
50+
implementation(libs.androidx.ui.tooling.preview)
51+
implementation(libs.androidx.material3)
52+
testImplementation(libs.junit)
53+
androidTestImplementation(libs.androidx.junit)
54+
androidTestImplementation(libs.androidx.espresso.core)
55+
androidTestImplementation(platform(libs.androidx.compose.bom))
56+
androidTestImplementation(libs.androidx.ui.test.junit4)
57+
debugImplementation(libs.androidx.ui.tooling)
58+
debugImplementation(libs.androidx.ui.test.manifest)
59+
}

app/proguard-rules.pro

Lines changed: 21 additions & 0 deletions
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
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
package com.threegap.bitnagil
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.threegap.bitnagil", appContext.packageName)
23+
}
24+
}

app/src/main/AndroidManifest.xml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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.Bitnagil"
14+
tools:targetApi="31">
15+
<activity
16+
android:name=".MainActivity"
17+
android:exported="true"
18+
android:theme="@style/Theme.Bitnagil">
19+
<intent-filter>
20+
<action android:name="android.intent.action.MAIN" />
21+
22+
<category android:name="android.intent.category.LAUNCHER" />
23+
</intent-filter>
24+
</activity>
25+
</application>
26+
27+
</manifest>

0 commit comments

Comments
 (0)