Skip to content

Instantly share code, notes, and snippets.

@adityawid
Created June 17, 2019 07:55
Show Gist options
  • Save adityawid/ea017aa9489786ce89ce45515cc1405c to your computer and use it in GitHub Desktop.
Save adityawid/ea017aa9489786ce89ce45515cc1405c to your computer and use it in GitHub Desktop.
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.3.31'
ext.nav_version = '2.1.0-alpha04'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// tambahkan safe args
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"
classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment