build.gradle 967 B

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