05f8b1b8e3
1. 2.4.0 introduces multistack navigation. Which removes the need for NavigationExtensions 2. Organised all nav graphs into a single graph to remove global action redundancy.
30 lines
605 B
Groovy
Executable File
30 lines
605 B
Groovy
Executable File
buildscript {
|
|
ext{
|
|
kotlin_version = '1.5.20'
|
|
nav_version = "2.4.0-alpha04"
|
|
}
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:4.2.1'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
maven { url 'https://jitpack.io' }
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|