build.gradle 902 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. repositories {
  4. jcenter { "https://maven.aliyun.com/repository/public" }
  5. google()
  6. mavenCentral()
  7. }
  8. dependencies {
  9. classpath 'com.android.tools.build:gradle:4.2.2'
  10. }
  11. }
  12. allprojects {
  13. repositories {
  14. flatDir {
  15. dirs 'libs'
  16. dirs project(':app').file('libs')
  17. }
  18. jcenter { "https://maven.aliyun.com/repository/public" }
  19. google()
  20. mavenCentral()
  21. }
  22. }
  23. task clean(type: Delete) {
  24. delete rootProject.buildDir
  25. }
  26. ext {
  27. compileSdkVersion = 31
  28. buildToolsVersion = "29.0.2"
  29. supportSdkVersion = "26.1.0"
  30. minSdkVersion = 21
  31. targetSdkVersion = 31
  32. versionCode = 1
  33. versionName = "v1.0"
  34. liteavSdk = "com.tencent.liteav:LiteAVSDK_Player:latest.release"
  35. }