build.gradle.kts 924 B

1234567891011121314151617181920212223242526272829303132
  1. import java.net.URI
  2. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  3. buildscript {
  4. repositories {
  5. google()
  6. jcenter()
  7. // maven { url = URI("https://oss.sonatype.org/content/repositories/snapshots/") }
  8. maven { url = java.net.URI("https://jitpack.io") }
  9. }
  10. dependencies {
  11. classpath("com.android.tools.build:gradle:4.0.1")
  12. classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.72")
  13. classpath("com.google.dagger:hilt-android-gradle-plugin:2.28-alpha")
  14. // NOTE: Do not place your application dependencies here; they belong
  15. // in the individual module build.gradle files
  16. }
  17. }
  18. allprojects {
  19. repositories {
  20. google()
  21. jcenter()
  22. maven { url = java.net.URI("https://jitpack.io") }
  23. }
  24. }
  25. tasks.register("clean", Delete::class) {
  26. delete(rootProject.buildDir)
  27. }