mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
Navigation関係をversionCatalogsに移動
This commit is contained in:
parent
5eb9af56c2
commit
ff0b272fa4
|
@ -42,24 +42,9 @@ dependencies {
|
||||||
implementation "com.google.dagger:hilt-android:2.44"
|
implementation "com.google.dagger:hilt-android:2.44"
|
||||||
annotationProcessor "com.google.dagger:hilt-compiler:2.44"
|
annotationProcessor "com.google.dagger:hilt-compiler:2.44"
|
||||||
|
|
||||||
// Navigation Component
|
// Navigation
|
||||||
def nav_version = "2.7.5"
|
implementation libs.navigation.fragment
|
||||||
|
implementation libs.navigation.ui
|
||||||
// Java language implementation
|
implementation libs.navigation.dynamic.features.fragment
|
||||||
implementation "androidx.navigation:navigation-fragment:$nav_version"
|
|
||||||
implementation "androidx.navigation:navigation-ui:$nav_version"
|
|
||||||
|
|
||||||
// Kotlin
|
|
||||||
implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
|
|
||||||
implementation "androidx.navigation:navigation-ui-ktx:$nav_version"
|
|
||||||
|
|
||||||
// Feature module Support
|
|
||||||
implementation "androidx.navigation:navigation-dynamic-features-fragment:$nav_version"
|
|
||||||
|
|
||||||
// Testing Navigation
|
|
||||||
androidTestImplementation "androidx.navigation:navigation-testing:$nav_version"
|
|
||||||
|
|
||||||
// Jetpack Compose Integration
|
|
||||||
implementation "androidx.navigation:navigation-compose:$nav_version"
|
|
||||||
|
|
||||||
}
|
}
|
9
gradle/libs.versions.toml
Normal file
9
gradle/libs.versions.toml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[versions]
|
||||||
|
nav = "2.7.5"
|
||||||
|
|
||||||
|
[libraries]
|
||||||
|
navigation-fragment = { group="androidx.navigation", name="navigation-fragment", version.ref="nav"}
|
||||||
|
navigation-ui = { group="androidx.navigation", name="navigation-ui", version.ref="nav"}
|
||||||
|
navigation-dynamic-features-fragment = { group="androidx.navigation", name="navigation-dynamic-features-fragment", version.ref="nav"}
|
||||||
|
|
||||||
|
[plugins]
|
|
@ -11,17 +11,6 @@ dependencyResolutionManagement {
|
||||||
google()
|
google()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
versionCatalogs {
|
|
||||||
navigations{
|
|
||||||
def nav_version = "2.7.5"
|
|
||||||
bundle("navs", ["androidx.navigation:navigation-fragment:$nav_version",
|
|
||||||
"androidx.navigation:navigation-ui:$nav_version",
|
|
||||||
"androidx.navigation:navigation-fragment-ktx:$nav_version",
|
|
||||||
"androidx.navigation:navigation-ui-ktx:$nav_version",
|
|
||||||
"androidx.navigation:navigation-dynamic-features-fragment:$nav_version",
|
|
||||||
"androidx.navigation:navigation-testing:$nav_version"])
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
rootProject.name = "Lacerta"
|
rootProject.name = "Lacerta"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user