Created
December 27, 2019 05:58
-
-
Save raviyadav5951/b8e8ee4c03b7906ce93d2ac333781b66 to your computer and use it in GitHub Desktop.
MVVM project after creating new project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'com.android.application' | |
apply plugin: 'kotlin-android' | |
apply plugin: 'kotlin-android-extensions' | |
android { | |
compileSdkVersion 29 | |
defaultConfig { | |
applicationId "com.askfortricks.mvvmnavcontrol" | |
minSdkVersion 21 | |
targetSdkVersion 29 | |
versionCode 1 | |
versionName "1.0" | |
} | |
buildTypes { | |
release { | |
minifyEnabled false | |
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | |
} | |
} | |
} | |
dependencies { | |
implementation fileTree(dir: 'libs', include: ['*.jar']) | |
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" | |
implementation 'androidx.appcompat:appcompat:1.1.0' | |
implementation 'androidx.core:core-ktx:1.1.0' | |
implementation 'androidx.constraintlayout:constraintlayout:1.1.3' | |
def nav_version = "2.1.0" | |
implementation "androidx.lifecycle:lifecycle-extensions:$nav_version" | |
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$nav_version" | |
//navigation controller | |
implementation "androidx.navigation:navigation-fragment-ktx:$nav_version" | |
implementation "androidx.navigation:navigation-ui-ktx:$nav_version" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment