Skip to content

Commit 227ab7b

Browse files
authored
Merge pull request #4 from YAPP-Github/chore/jaino/#2
#2 : 안드로이드 프로젝트 셋업
2 parents 384ced0 + 7a2b130 commit 227ab7b

86 files changed

Lines changed: 1698 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

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

app/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/build
2+
/google-services.json

app/build.gradle.kts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
plugins {
2+
alias(libs.plugins.wespot.android.application)
3+
alias(libs.plugins.wespot.android.hilt)
4+
alias(libs.plugins.wespot.android.compose)
5+
alias(libs.plugins.wespot.android.firebase)
6+
}
7+
8+
android {
9+
namespace = "com.bff.wespot"
10+
}
11+
12+
dependencies {
13+
implementation(project(":domain"))
14+
implementation(project(":data"))
15+
implementation(project(":designsystem"))
16+
implementation(project(":core:model"))
17+
implementation(project(":core:ui"))
18+
implementation(project(":core:common"))
19+
implementation(project(":feature:auth"))
20+
implementation(libs.androidx.appcompat)
21+
implementation(libs.androidx.lifecycle.runtime.ktx)
22+
implementation(libs.androidx.core.ktx)
23+
implementation(libs.androidx.junit)
24+
}

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: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package com.bff.wespot
2+
3+
import androidx.test.ext.junit.runners.AndroidJUnit4
4+
import androidx.test.platform.app.InstrumentationRegistry
5+
import org.junit.Assert.assertEquals
6+
import org.junit.Test
7+
import org.junit.runner.RunWith
8+
9+
/**
10+
* Instrumented test, which will execute on an Android device.
11+
*
12+
* See [testing documentation](http://d.android.com/tools/testing).
13+
*/
14+
@RunWith(AndroidJUnit4::class)
15+
class ExampleInstrumentedTest {
16+
@Test
17+
fun useAppContext() {
18+
// Context of the app under test.
19+
val appContext = InstrumentationRegistry.getInstrumentation().targetContext
20+
assertEquals("com.bff.wespot", appContext.packageName)
21+
}
22+
}

app/src/main/AndroidManifest.xml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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.WeSpot"
14+
tools:targetApi="31">
15+
<activity
16+
android:name=".MainActivity"
17+
android:exported="true"
18+
android:label="@string/app_name"
19+
android:theme="@style/Theme.WeSpot">
20+
<intent-filter>
21+
<action android:name="android.intent.action.MAIN" />
22+
23+
<category android:name="android.intent.category.LAUNCHER" />
24+
</intent-filter>
25+
</activity>
26+
</application>
27+
28+
</manifest>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package com.bff.wespot
2+
3+
import android.os.Bundle
4+
import androidx.activity.ComponentActivity
5+
6+
class MainActivity : ComponentActivity() {
7+
override fun onCreate(savedInstanceState: Bundle?) {
8+
super.onCreate(savedInstanceState)
9+
}
10+
}

0 commit comments

Comments
 (0)