Making magic with the network stack
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.

42 lines
1.2 KiB

  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. }
  7. dependencies {
  8. // http://tools.android.com/tech-docs/new-build-system/gradle-experimental
  9. // https://bintray.com/android/android-tools/com.android.tools.build.gradle-experimental/view
  10. // https://bintray.com/android/android-tools/com.google.gms.google-services/view
  11. classpath 'com.android.tools.build:gradle:7.3.1'
  12. // NOTE: Do not place your application dependencies here; they belong
  13. // in the individual module build.gradle files
  14. }
  15. }
  16. allprojects {
  17. repositories {
  18. jcenter()
  19. mavenCentral()
  20. maven {
  21. url 'https://maven.google.com'
  22. }
  23. }
  24. }
  25. subprojects {
  26. project.configurations.all {
  27. resolutionStrategy.eachDependency { details ->
  28. if (details.requested.group == 'com.android.support'
  29. && !details.requested.name.contains('multidex')) {
  30. details.useVersion "27.1.1"
  31. }
  32. }
  33. }
  34. }
  35. task clean(type: Delete) {
  36. delete rootProject.buildDir
  37. }