build.gradle 967 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.7.10"
  4. repositories {
  5. gradlePluginPortal()
  6. google()
  7. }
  8. dependencies {
  9. classpath 'com.android.tools.build:gradle:7.2.2'
  10. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  11. classpath 'com.billy.android:autoregister:1.4.1'
  12. classpath 'com.google.dagger:hilt-android-gradle-plugin:2.43.2'
  13. // NOTE: Do not place your application dependencies here; they belong
  14. // in the individual module build.gradle files
  15. }
  16. }
  17. allprojects {
  18. repositories {
  19. gradlePluginPortal()
  20. google()
  21. mavenCentral()
  22. maven { url 'https://repo1.maven.org/maven2/' }
  23. maven { url "https://jitpack.io" }
  24. flatDir {
  25. dirs 'libs'
  26. }
  27. }
  28. }
  29. task clean(type: Delete) {
  30. delete rootProject.buildDir
  31. }