A Freedom Respecting Android Chat Client https://mercury-im.org
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.

48 lines
1.1KB

  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. classpath 'com.android.tools.build:gradle:3.5.1'
  9. // NOTE: Do not place your application dependencies here; they belong
  10. // in the individual module build.gradle files
  11. }
  12. }
  13. apply from: 'version.gradle'
  14. allprojects {
  15. ext {
  16. rootConfigDir = new File(rootDir, 'config')
  17. }
  18. repositories {
  19. google()
  20. jcenter()
  21. mavenLocal()
  22. // Smack nightly unique snapshots repo
  23. //maven {
  24. // url 'https://igniterealtime.org/repo/'
  25. // }
  26. }
  27. configurations {
  28. // Exclude XmlPullParser from Smack dependencies, as its now provided by Android
  29. // https://stackoverflow.com/questions/48488563/gradle-xpp3-error/48746294#48746294
  30. all {
  31. exclude group: 'xpp3', module: 'xpp3_min'
  32. }
  33. }
  34. }
  35. task clean(type: Delete) {
  36. delete rootProject.buildDir
  37. }