build.gradle 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. maven { url 'http://4thline.org/m2' }
  9. maven { url 'https://jitpack.io' }
  10. }
  11. dependencies {
  12. classpath 'com.android.tools.build:gradle:4.2.2'
  13. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  14. }
  15. }
  16. allprojects {
  17. repositories {
  18. flatDir {
  19. dirs 'libs'
  20. }
  21. jcenter { "https://maven.aliyun.com/repository/public" }
  22. google()
  23. mavenCentral()
  24. maven { url 'http://4thline.org/m2' }
  25. maven { url 'https://jitpack.io' }
  26. }
  27. }
  28. task clean(type: Delete) {
  29. delete rootProject.buildDir
  30. }
  31. ext {
  32. compileSdkVersion = 32
  33. buildToolsVersion = 32
  34. minSdkVersion = 21
  35. targetSdkVersion = 32
  36. versionCode = 1
  37. versionName = "v1.0"
  38. liteavSdk = "com.tencent.liteav:LiteAVSDK_Player:latest.release"
  39. }