diff --git a/app/src/main/java/com/dev/briefing/BreifingNavHost.kt b/app/src/main/java/com/dev/briefing/BreifingNavHost.kt new file mode 100644 index 0000000..5c24c7e --- /dev/null +++ b/app/src/main/java/com/dev/briefing/BreifingNavHost.kt @@ -0,0 +1,8 @@ +package com.dev.briefing + +import androidx.compose.runtime.Composable + +@Composable +fun BriefingNavHost() { + +} \ No newline at end of file diff --git a/build-logic/convention/src/main/kotlin/store/newsbriefing/app/buildlogic/extension/Secret.kt b/build-logic/convention/src/main/kotlin/store/newsbriefing/app/buildlogic/extension/Secret.kt index b3f5ec9..4acc997 100644 --- a/build-logic/convention/src/main/kotlin/store/newsbriefing/app/buildlogic/extension/Secret.kt +++ b/build-logic/convention/src/main/kotlin/store/newsbriefing/app/buildlogic/extension/Secret.kt @@ -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 diff --git a/feature/bookmark/build.gradle.kts b/feature/bookmark/build.gradle.kts index a6d4e67..b0e1b5f 100644 --- a/feature/bookmark/build.gradle.kts +++ b/feature/bookmark/build.gradle.kts @@ -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) diff --git a/feature/home/build.gradle.kts b/feature/home/build.gradle.kts index a779540..7c92e3a 100644 --- a/feature/home/build.gradle.kts +++ b/feature/home/build.gradle.kts @@ -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) diff --git a/feature/home/src/main/java/store/newsbriefing/app/feature/home/HomeNavigation.kt b/feature/home/src/main/java/store/newsbriefing/app/feature/home/HomeNavigation.kt new file mode 100644 index 0000000..15092ff --- /dev/null +++ b/feature/home/src/main/java/store/newsbriefing/app/feature/home/HomeNavigation.kt @@ -0,0 +1,11 @@ +package store.newsbriefing.app.feature.home + +import androidx.compose.runtime.Composable + +const val homeRoute = "home_route" + + +@Composable +fun HomeNavGraph() { + +} \ No newline at end of file diff --git a/feature/home/src/main/java/store/newsbriefing/app/feature/home/HomeScreen.kt b/feature/home/src/main/java/store/newsbriefing/app/feature/home/HomeScreen.kt new file mode 100644 index 0000000..f571eb9 --- /dev/null +++ b/feature/home/src/main/java/store/newsbriefing/app/feature/home/HomeScreen.kt @@ -0,0 +1,10 @@ +package store.newsbriefing.app.feature.home + +import androidx.compose.runtime.Composable + +const val home = "home" + +@Composable +fun HomeScreen() { + +} \ No newline at end of file diff --git a/feature/newsdetail/build.gradle.kts b/feature/newsdetail/build.gradle.kts index 9fb7ba1..1abe6e1 100644 --- a/feature/newsdetail/build.gradle.kts +++ b/feature/newsdetail/build.gradle.kts @@ -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) diff --git a/feature/setting/build.gradle.kts b/feature/setting/build.gradle.kts index 5474b02..2e9a52f 100644 --- a/feature/setting/build.gradle.kts +++ b/feature/setting/build.gradle.kts @@ -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) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 482c02e..c753c3b 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -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" } @@ -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" }