diff --git a/feature/search/build.gradle b/feature/search/build.gradle index b92bd0d5..bbe89d92 100644 --- a/feature/search/build.gradle +++ b/feature/search/build.gradle @@ -29,6 +29,8 @@ dependencies { implementation 'androidx.appcompat:appcompat:1.6.1' implementation 'com.google.android.material:material:1.10.0' + implementation libs.androidx.navigation.fragment + implementation libs.androidx.navigation.ui testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.5' androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' diff --git a/feature/search/src/main/res/navigation/feature_search_navigation.xml b/feature/search/src/main/res/navigation/feature_search_navigation.xml new file mode 100644 index 00000000..10f1872a --- /dev/null +++ b/feature/search/src/main/res/navigation/feature_search_navigation.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index cd6712ad..693b726e 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -3,6 +3,8 @@ nav = "2.7.5" agp = "8.0.2" activity = "1.8.0" room = "2.5.0" +navigationFragment = "2.7.6" +navigationUi = "2.7.6" [libraries] navigation-fragment = { group="androidx.navigation", name="navigation-fragment", version.ref="nav"} @@ -23,6 +25,8 @@ androidx-activity = { group = "androidx.activity", name = "activity", version.re androidx-room-runtime = { group = "androidx.room", name = "room-runtime", version.ref = "room" } androidx-room-compiler = { group = "androidx.room", name = "room-compiler", version.ref = "room" } +androidx-navigation-fragment = { group = "androidx.navigation", name = "navigation-fragment", version.ref = "navigationFragment" } +androidx-navigation-ui = { group = "androidx.navigation", name = "navigation-ui", version.ref = "navigationUi" } [plugins] com-android-library = { id = "com.android.library", version.ref = "agp" } \ No newline at end of file