Skip to content

Commit

Permalink
Feat : Feature 모듈 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
DongChyeon committed Mar 31, 2024
1 parent 627c145 commit 6fc9fc7
Show file tree
Hide file tree
Showing 9 changed files with 49 additions and 1 deletion.
8 changes: 8 additions & 0 deletions app/src/main/java/com/dev/briefing/BreifingNavHost.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package com.dev.briefing

import androidx.compose.runtime.Composable

@Composable
fun BriefingNavHost() {

}
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package store.newsbriefing.app.buildlogic.extension

import com.android.build.api.dsl.CommonExtension
import com.google.android.libraries.mapsplatform.secrets_gradle_plugin.SecretsPluginExtension
import org.gradle.api.Project
import org.gradle.kotlin.dsl.configure
Expand Down
4 changes: 4 additions & 0 deletions feature/bookmark/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,14 @@ android {
}

dependencies {
api(projects.core.model)
api(projects.core.common)
api(projects.core.designsystem)

implementation(libs.core.ktx)
implementation(libs.androidx.appcompat)
implementation(libs.material)
implementation(libs.hilt.navigation.compose)
testImplementation(libs.junit)
androidTestImplementation(libs.androidx.test.ext.junit)
androidTestImplementation(libs.espresso.core)
Expand Down
5 changes: 5 additions & 0 deletions feature/home/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,15 @@ android {
}

dependencies {
api(projects.core.model)
api(projects.core.common)
api(projects.core.designsystem)

implementation(libs.core.ktx)
implementation(libs.androidx.appcompat)
implementation(libs.material)
implementation(libs.hilt.navigation.compose)
implementation(libs.androidx.compose.runtime)
testImplementation(libs.junit)
androidTestImplementation(libs.androidx.test.ext.junit)
androidTestImplementation(libs.espresso.core)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package store.newsbriefing.app.feature.home

import androidx.compose.runtime.Composable

const val homeRoute = "home_route"


@Composable
fun HomeNavGraph() {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package store.newsbriefing.app.feature.home

import androidx.compose.runtime.Composable

const val home = "home"

@Composable
fun HomeScreen() {

}
5 changes: 5 additions & 0 deletions feature/newsdetail/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,15 @@ android {
}

dependencies {
api(projects.core.model)
api(projects.core.common)
api(projects.core.designsystem)

implementation(libs.core.ktx)
implementation(libs.androidx.appcompat)
implementation(libs.material)
implementation(libs.androidx.compose.navigation)
implementation(libs.hilt.navigation.compose)
testImplementation(libs.junit)
androidTestImplementation(libs.androidx.test.ext.junit)
androidTestImplementation(libs.espresso.core)
Expand Down
4 changes: 4 additions & 0 deletions feature/setting/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,14 @@ android {
}

dependencies {
api(projects.core.model)
api(projects.core.common)
api(projects.core.designsystem)

implementation(libs.core.ktx)
implementation(libs.androidx.appcompat)
implementation(libs.material)
implementation(libs.hilt.navigation.compose)
testImplementation(libs.junit)
androidTestImplementation(libs.androidx.test.ext.junit)
androidTestImplementation(libs.espresso.core)
Expand Down
2 changes: 2 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ androidx-compose-runtime = { group = "androidx.compose.runtime", name = "runtime
androidx-compose-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling" }
androidx-compose-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-tooling-preview" }
androidx-compose-ui-util = { group = "androidx.compose.ui", name = "ui-util" }
androidx-compose-navigation = { group = "androidx.navigation", name = "navigation-compose" }

secrets-gradle-plugin = { module = "com.google.android.libraries.mapsplatform.secrets-gradle-plugin:secrets-gradle-plugin", version.ref = "secretsGradlePlugin" }
ui = { group = "androidx.compose.ui", name = "ui" }
Expand All @@ -56,6 +57,7 @@ material = { group = "com.google.android.material", name = "material", version.r

hilt-android = { group = "com.google.dagger", name = "hilt-android", version.ref = "hilt" }
hilt-compiler = { group = "com.google.dagger", name = "hilt-android-compiler", version.ref = "hilt" }
hilt-navigation-compose = { group = "androidx.hilt", name = "hilt-navigation-compose", version.ref = "hilt" }

retrofit-core = { group = "com.squareup.retrofit2", name = "retrofit", version.ref = "retrofit" }
retrofit-converter-gson = { group = "com.squareup.retrofit2", name = "converter-gson", version.ref = "retrofit" }
Expand Down

0 comments on commit 6fc9fc7

Please sign in to comment.