Advertisement
elsemTim

project-level build.gradle (root)

May 2nd, 2017
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.69 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.1.1'
  5.     repositories {
  6.         jcenter()
  7.     }
  8.     dependencies {
  9.         classpath 'com.android.tools.build:gradle:2.3.1'
  10.         classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  11.         classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
  12.         // NOTE: Do not place your application dependencies here; they belong
  13.         // in the individual module build.gradle files
  14.     }
  15. }
  16.  
  17. allprojects {
  18.     repositories {
  19.         jcenter()
  20.     }
  21. }
  22.  
  23. task clean(type: Delete) {
  24.     delete rootProject.buildDir
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement