add navigation libraries to gradle dependencies
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 20 Jul 2019 18:47:54 +0000 (21:47 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 20 Jul 2019 18:47:54 +0000 (21:47 +0300)
not really used for now, but may be in the future

app/build.gradle

index 0842e43..47b132c 100644 (file)
@@ -48,6 +48,7 @@ android {
 }
 
 dependencies {
+    def nav_version = '2.1.0-alpha06'
     implementation fileTree(include: ['*.jar'], dir: 'libs')
     implementation 'androidx.appcompat:appcompat:1.1.0-rc01'
     implementation 'androidx.legacy:legacy-support-v4:1.0.0'
@@ -60,4 +61,6 @@ dependencies {
     androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0-alpha01'
     implementation 'org.jetbrains:annotations:15.0'
     implementation 'com.fasterxml.jackson.module:jackson-modules-java8:2.9.8'
+    implementation "androidx.navigation:navigation-fragment:$nav_version"
+    implementation "androidx.navigation:navigation-ui:$nav_version"
 }