-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # README.md
- Loading branch information
Showing
412 changed files
with
19,973 additions
and
28 deletions.
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,22 @@ | ||
root = true | ||
|
||
[*] | ||
insert_final_newline = true | ||
|
||
[*.{kt,kts}] | ||
ktlint_code_style = intelli_idea | ||
ktlint_standard_class-signature = disabled | ||
ktlint_standard_parameter-list-wrapping = disabled | ||
ktlint_standard_function-signature = disabled | ||
ktlint_standard_function-expression-body = disabled | ||
ktlint_standard_function-literal = disabled | ||
ktlint_standard_multiline-if-else = disabled | ||
ktlint_standard_if-else-wrapping = disabled | ||
ktlint_standard_argument-list-wrapping = disabled | ||
ktlint_standard_binary-expression-wrapping = disabled | ||
ktlint_standard_max-line-length = disabled | ||
ktlint_standard_function-naming = disabled | ||
ktlint_standard_chain-method-continuation = disabled | ||
ktlint_standard_multiline-expression-wrapping = disabled | ||
ktlint_standard_annotation = disabled | ||
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
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 @@ | ||
/build |
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,76 @@ | ||
import java.util.Properties | ||
|
||
plugins { | ||
alias(libs.plugins.androidApplication) | ||
alias(libs.plugins.jetbrainsKotlinAndroid) | ||
alias(libs.plugins.kotlin.kapt) | ||
alias(libs.plugins.dagger.hilt) | ||
alias(libs.plugins.google.services) | ||
} | ||
|
||
val properties = Properties() | ||
properties.load(rootProject.file("local.properties").inputStream()) | ||
|
||
fun String.removeQuotes(): String { | ||
return this.replace("\"", "") | ||
} | ||
|
||
android { | ||
namespace = "com.teamkkumul.kkumul" | ||
compileSdk = 34 | ||
|
||
defaultConfig { | ||
applicationId = "com.teamkkumul.kkumul" | ||
minSdk = 28 | ||
targetSdk = 34 | ||
versionCode = 1 | ||
versionName = "1.0" | ||
|
||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" | ||
|
||
val kakaoAppKey = properties["kakao.app.key"].toString().removeQuotes() | ||
|
||
buildConfigField("String", "KAKAO_APP_KEY", "\"$kakaoAppKey\"") | ||
manifestPlaceholders["kakaoAppkey"] = kakaoAppKey | ||
} | ||
|
||
buildTypes { | ||
release { | ||
isMinifyEnabled = false | ||
proguardFiles( | ||
getDefaultProguardFile("proguard-android-optimize.txt"), | ||
"proguard-rules.pro", | ||
) | ||
} | ||
} | ||
compileOptions { | ||
sourceCompatibility = JavaVersion.VERSION_17 | ||
targetCompatibility = JavaVersion.VERSION_17 | ||
} | ||
kotlinOptions { | ||
jvmTarget = "17" | ||
} | ||
buildFeatures { | ||
dataBinding = true | ||
buildConfig = true | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation(project(":core:network")) | ||
implementation(project(":feature")) | ||
|
||
implementation(platform(libs.firebase.bom)) | ||
implementation(libs.bundles.firebase) | ||
|
||
implementation(libs.kakao.login) | ||
implementation(libs.timber) | ||
|
||
implementation(libs.dagger.hilt) | ||
implementation(libs.androidx.appcompat) | ||
kapt(libs.dagger.hilt.compiler) | ||
|
||
testImplementation(libs.junit) | ||
androidTestImplementation(libs.androidx.junit) | ||
androidTestImplementation(libs.androidx.espresso.core) | ||
} |
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,31 @@ | ||
# Add project specific ProGuard rules here. | ||
# You can control the set of applied configuration files using the | ||
# proguardFiles setting in build.gradle. | ||
# | ||
# For more details, see | ||
# http://developer.android.com/guide/developing/tools/proguard.html | ||
|
||
# If your project uses WebView with JS, uncomment the following | ||
# and specify the fully qualified class name to the JavaScript interface | ||
# class: | ||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview { | ||
# public *; | ||
#} | ||
|
||
# Uncomment this to preserve the line number information for | ||
# debugging stack traces. | ||
#-keepattributes SourceFile,LineNumberTable | ||
|
||
# If you keep the line number information, uncomment this to | ||
# hide the original source file name. | ||
#-renamesourcefileattribute SourceFile | ||
|
||
##---------------Begin: Kakao SDK ---------- | ||
-keep class com.kakao.sdk.**.model.* { <fields>; } | ||
-keep class * extends com.google.gson.TypeAdapter | ||
-keep interface com.kakao.sdk.**.*Api | ||
##---------------END: Kakao SDK ---------- | ||
|
||
## Firebase Cloud Messaging (FCM) | ||
-keep class com.google.android.gms.** { *; } | ||
-keep class com.google.firebase.** { *; } |
24 changes: 24 additions & 0 deletions
24
app/src/androidTest/java/com/teamkkumul/kkumul/ExampleInstrumentedTest.kt
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,24 @@ | ||
package com.teamkkumul.kkumul | ||
|
||
import androidx.test.platform.app.InstrumentationRegistry | ||
import androidx.test.ext.junit.runners.AndroidJUnit4 | ||
|
||
import org.junit.Test | ||
import org.junit.runner.RunWith | ||
|
||
import org.junit.Assert.* | ||
|
||
/** | ||
* Instrumented test, which will execute on an Android device. | ||
* | ||
* See [testing documentation](http://d.android.com/tools/testing). | ||
*/ | ||
@RunWith(AndroidJUnit4::class) | ||
class ExampleInstrumentedTest { | ||
@Test | ||
fun useAppContext() { | ||
// Context of the app under test. | ||
val appContext = InstrumentationRegistry.getInstrumentation().targetContext | ||
assertEquals("com.teamkkumul.kkumul", appContext.packageName) | ||
} | ||
} |
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,68 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools"> | ||
|
||
<uses-permission android:name="android.permission.INTERNET" /> | ||
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> | ||
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" /> | ||
<uses-permission android:name="android.permission.USE_EXACT_ALARM" /> | ||
<uses-permission android:name="android.permission.WAKE_LOCK" /> | ||
|
||
<uses-permission | ||
android:name="android.permission.READ_EXTERNAL_STORAGE" | ||
android:maxSdkVersion="32" /> | ||
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" /> | ||
<uses-permission android:name="android.permission.READ_MEDIA_VISUAL_USER_SELECTED" /> | ||
|
||
<application | ||
android:name=".KkumulApp" | ||
android:allowBackup="false" | ||
android:dataExtractionRules="@xml/data_extraction_rules" | ||
android:fullBackupContent="false" | ||
android:icon="@mipmap/ic_launcher" | ||
android:label="@string/app_name" | ||
android:roundIcon="@mipmap/ic_launcher_round" | ||
android:supportsRtl="true" | ||
android:theme="@style/Theme.Kkumul" | ||
android:usesCleartextTraffic="true" | ||
tools:targetApi="31"> | ||
<activity | ||
android:name="com.kakao.sdk.auth.AuthCodeHandlerActivity" | ||
android:exported="true"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.VIEW" /> | ||
|
||
<category android:name="android.intent.category.DEFAULT" /> | ||
<category android:name="android.intent.category.BROWSABLE" /> | ||
|
||
<data | ||
android:host="oauth" | ||
android:scheme="kakao${kakaoAppkey}" /> | ||
</intent-filter> | ||
</activity> | ||
|
||
<receiver | ||
android:name="com.teamkkumul.feature.meetup.readystatus.readyinfoinput.alarm.AlarmReceiver" | ||
android:exported="true"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.BOOT_COMPLETED" /> | ||
<action android:name="android.intent.action.RECEIVE_BOOT_COMPLETED" /> | ||
</intent-filter> | ||
</receiver> | ||
|
||
<meta-data | ||
android:name="com.google.firebase.messaging.default_notification_icon" | ||
android:resource="@drawable/img_kum_logo" /> | ||
<meta-data | ||
android:name="com.google.firebase.messaging.default_notification_color" | ||
android:resource="@color/white0" /> | ||
|
||
<service | ||
android:name=".KkumulFirebaseMessagingService" | ||
android:exported="false"> | ||
<intent-filter> | ||
<action android:name="com.google.firebase.MESSAGING_EVENT" /> | ||
</intent-filter> | ||
</service> | ||
</application> | ||
</manifest> |
Oops, something went wrong.