Skip to content
Permalink
Browse files

Added gradle dependency and plugin for navigation components

Bug: 123673505
Change-Id: I85962dd55f93dc2852c695dd4836fa9a40ca6b7f
  • Loading branch information...
benbaxter authored and thagikura committed Mar 7, 2019
1 parent 61984ac commit 3917256b8d8e55596d526e431c70008310012460
Showing with 5 additions and 0 deletions.
  1. +2 −0 build.gradle
  2. +3 −0 mobile/build.gradle
@@ -68,6 +68,7 @@ buildscript {
materialVersion = '1.1.0-alpha02'
mockitoVersion = "2.8.9"
mockitoKotlinVersion = "1.5.0"
navigationVersion = "2.0.0-rc02"
okhttpVersion = "3.10.0"
okioVersion = '1.14.0'
pageIndicatorVersion = "1.3.0"
@@ -94,6 +95,7 @@ buildscript {
classpath "com.android.tools.build:gradle:$androidGradlePluginVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "com.google.gms:google-services:$googleServicesVersion"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navigationVersion"
classpath "io.fabric.tools:gradle:$fabricVersion"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
@@ -18,6 +18,7 @@ apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
apply plugin: 'androidx.navigation.safeargs.kotlin'
apply plugin: 'io.fabric'

android {
@@ -141,6 +142,8 @@ dependencies {
implementation "androidx.lifecycle:lifecycle-extensions:$rootProject.lifecycleVersion"
kapt "androidx.lifecycle:lifecycle-compiler:$rootProject.lifecycleVersion"
testImplementation "androidx.arch.core:core-testing:$rootProject.archTestingVersion"
implementation "androidx.navigation:navigation-fragment-ktx:$navigationVersion"
implementation "androidx.navigation:navigation-ui-ktx:$navigationVersion"

// Dagger
implementation "com.google.dagger:dagger-android:$rootProject.dagger"

0 comments on commit 3917256

Please sign in to comment.
You can’t perform that action at this time.