Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.44 KB | None | 0 0
  1. apply plugin: 'com.android.application'
  2.  
  3. apply plugin: 'kotlin-android'
  4.  
  5. apply plugin: 'kotlin-android-extensions'
  6.  
  7. apply plugin: "androidx.navigation.safeargs.kotlin"
  8.  
  9. apply plugin: 'kotlin-kapt'
  10.  
  11. android {
  12. compileSdkVersion 28
  13. defaultConfig {
  14. applicationId "com.example.relesrulate"
  15. minSdkVersion 15
  16. targetSdkVersion 28
  17. versionCode 1
  18. versionName "1.0"
  19. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  20. }
  21. buildTypes {
  22. release {
  23. minifyEnabled false
  24. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  25. }
  26. }
  27. }
  28.  
  29.  
  30. androidExtensions {
  31. experimental = true
  32. }
  33.  
  34. dependencies {
  35. implementation fileTree(dir: 'libs', include: ['*.jar'])
  36. implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  37. implementation 'com.android.support:appcompat-v7:28.0.0'
  38. implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  39. testImplementation 'junit:junit:4.12'
  40. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  41. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  42.  
  43.  
  44. // Navigation
  45. implementation "androidx.navigation:navigation-fragment:$navigation_version" // For Kotlin use navigation-fragment-ktx
  46. implementation "androidx.navigation:navigation-ui:$navigation_version" // For Kotlin use navigation-ui-ktx
  47.  
  48. implementation 'com.jakewharton.threetenabp:threetenabp:1.2.0'
  49.  
  50. implementation "androidx.core:core-ktx:1.0.1"
  51. implementation "androidx.constraintlayout:constraintlayout:1.1.3"
  52. }
  53.  
  54. buildscript { ext.kotlin_version = '1.3.31' ext.room_version = '2.1.0-alpha07' ext.navigation_version = '2.1.0-alpha02' ext.kodein_version = '5.2.0' ext.lifecycle_version = '2.0.0' ext.retrofit_version = '2.5.0'
  55.  
  56. repositories {
  57. google()
  58. jcenter()
  59.  
  60. }
  61. dependencies {
  62. classpath 'com.android.tools.build:gradle:3.4.0'
  63. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  64. // NOTE: Do not place your application dependencies here; they belong
  65. // in the individual module build.gradle files
  66.  
  67.  
  68.  
  69. //classpath 'android.arch.navigation:navigation-safe-args-gradle-plugin:2.1.0-alpha02'
  70. classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.1.0-alpha02"
  71. } }
  72. allprojects { repositories { google() jcenter()
  73.  
  74. } }
  75. task clean(type: Delete) { delete rootProject.buildDir }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement