build.gradle 925 B

12345678910111213141516171819202122232425262728293031323334
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext.kotlin_version = "1.5.0"
  4. repositories {
  5. google()
  6. jcenter()
  7. mavenCentral() // add repository
  8. maven { url 'https://jitpack.io' }
  9. maven {
  10. url 'https://dl.bintray.com/cjt/maven'
  11. }
  12. }
  13. dependencies {
  14. classpath "com.android.tools.build:gradle:4.0.0"
  15. classpath 'org.greenrobot:greendao-gradle-plugin:3.3.0' // add plugin
  16. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  17. // NOTE: Do not place your application dependencies here; they belong
  18. // in the individual module build.gradle files
  19. }
  20. }
  21. allprojects {
  22. repositories {
  23. google()
  24. jcenter()
  25. maven { url 'https://jitpack.io' }
  26. }
  27. }
  28. task clean(type: Delete) {
  29. delete rootProject.buildDir
  30. }