You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
939B

  1. buildscript {
  2. ext.kotlin_version = '1.7.21'
  3. repositories {
  4. google()
  5. jcenter()
  6. }
  7. dependencies {
  8. classpath("com.android.tools.build:gradle:7.0.0")
  9. classpath 'com.google.gms:google-services:4.3.3'
  10. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  11. }
  12. }
  13. allprojects {
  14. repositories {
  15. google()
  16. jcenter()
  17. }
  18. }
  19. rootProject.buildDir = '../build'
  20. subprojects {
  21. project.buildDir = "${rootProject.buildDir}/${project.name}"
  22. }
  23. subprojects {
  24. project.evaluationDependsOn(':app')
  25. project.configurations.all {
  26. resolutionStrategy.eachDependency { details ->
  27. if (details.requested.group == 'com.android.support'
  28. && !details.requested.name.contains('multidex') ) {
  29. details.useVersion "27.1.1"
  30. }
  31. }
  32. }
  33. }
  34. task clean(type: Delete) {
  35. delete rootProject.buildDir
  36. }