Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Kotlin 1.04 KB | None | 0 0
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2.  
  3. buildscript {
  4.     ext.kotlin_version = '1.3.31'
  5.     repositories {
  6.         google()
  7.         jcenter()
  8.         maven { url "https://kotlin.bintray.com/kotlinx" }
  9.         maven { url "https://dl.bintray.com/kotlin/ktor" }
  10.        
  11.     }
  12.     dependencies {
  13.         classpath 'com.android.tools.build:gradle:3.4.1'
  14.         classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  15.         // NOTE: Do not place your application dependencies here; they belong
  16.         // in the individual module build.gradle files
  17.         classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.40"
  18.         classpath "org.jetbrains.kotlin:kotlin-serialization:1.3.40"
  19.  
  20.  
  21.     }
  22. }
  23.  
  24. allprojects {
  25.     repositories {
  26.         google()
  27.         jcenter()
  28.         maven { url "https://kotlin.bintray.com/kotlinx" }
  29.         maven { url "https://dl.bintray.com/kotlin/ktor" }
  30.     }
  31. }
  32.  
  33. task clean(type: Delete) {
  34.     delete rootProject.buildDir
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement