build.gradle 883 B

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