Skip to content

Commit

Permalink
chore: datastore module 추가 #52
Browse files Browse the repository at this point in the history
  • Loading branch information
easyhz committed Aug 11, 2024
1 parent 7426377 commit c762733
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/datastore/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
16 changes: 16 additions & 0 deletions core/datastore/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
plugins {
alias(libs.plugins.noffice.android.library)
alias(libs.plugins.noffice.android.hilt)
}

android {
namespace = "com.easyhz.noffice.core.datastore"
}

dependencies {
implementation(projects.core.common)
implementation(projects.core.model)

implementation(libs.androidx.datastore)
implementation(libs.androidx.datastore.core)
}
21 changes: 21 additions & 0 deletions core/datastore/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# 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
2 changes: 2 additions & 0 deletions core/datastore/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest />
3 changes: 3 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ webkit = "1.11.0"
material3 = "1.2.1"
playServicesAuth = "21.2.0"
playServicesCoroutines = "1.6.4"
androidxDataStore = "1.0.0"

[libraries]
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
Expand Down Expand Up @@ -80,6 +81,8 @@ jsoup = { group ="org.jsoup", name ="jsoup", version.ref = "jsoup"}
androidx-webkit = { group = "androidx.webkit", name = "webkit", version.ref = "webkit" }
gms-play-services-auth = { group = "com.google.android.gms", name = "play-services-auth", version.ref = "playServicesAuth"}
kotlinx-coroutines-play-services = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-play-services", version.ref="playServicesCoroutines"}
androidx-datastore = { group = "androidx.datastore", name = "datastore-preferences", version.ref = "androidxDataStore" }
androidx-datastore-core = { group = "androidx.datastore", name = "datastore-preferences-core", version.ref = "androidxDataStore" }

[plugins]
android-application = { id = "com.android.application", version.ref = "agp" }
Expand Down
1 change: 1 addition & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,4 @@ include(":domain:notification")
include(":core:model")
include(":feature:sign")
include(":domain:sign")
include(":core:datastore")

0 comments on commit c762733

Please sign in to comment.