Advertisement
Guest User

Untitled

a guest
Jan 18th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext.kotlin_version = '1.1.51'
  4. repositories {
  5. jcenter()
  6. google()
  7. }
  8. dependencies {
  9. classpath 'com.android.tools.build:gradle:3.0.1'
  10. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  11. classpath "org.jetbrains.dokka:dokka-android-gradle-plugin:0.9.15"
  12. // NOTE: Do not place your application dependencies here; they belong
  13. // in the individual module build.gradle files
  14. }
  15. }
  16.  
  17. apply plugin: 'org.jetbrains.dokka-android'
  18. dokka {
  19. outputFormat = 'html'
  20. outputDirectory = "$buildDir/javadoc"
  21. }
  22.  
  23. allprojects {
  24. repositories {
  25. google()
  26. jcenter()
  27. }
  28. }
  29.  
  30. task clean(type: Delete) {
  31. delete rootProject.buildDir
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement