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.

54 lines
1.5KB

  1. plugins {
  2. id 'com.android.application'
  3. id 'org.jetbrains.kotlin.android'
  4. id 'kotlin-android-extensions'
  5. id 'kotlin-kapt'
  6. }
  7. apply plugin: 'kotlin-android'
  8. android {
  9. compileSdk 32
  10. defaultConfig {
  11. applicationId "com.zlmediakit.webrtc"
  12. minSdk 21
  13. targetSdk 32
  14. versionCode 1
  15. versionName "1.0"
  16. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  17. }
  18. buildTypes {
  19. release {
  20. minifyEnabled false
  21. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  22. }
  23. }
  24. compileOptions {
  25. sourceCompatibility JavaVersion.VERSION_1_8
  26. targetCompatibility JavaVersion.VERSION_1_8
  27. }
  28. kotlinOptions {
  29. jvmTarget = '1.8'
  30. }
  31. }
  32. dependencies {
  33. implementation 'androidx.core:core-ktx:1.7.0'
  34. implementation 'androidx.appcompat:appcompat:1.5.1'
  35. implementation 'com.google.android.material:material:1.6.1'
  36. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  37. testImplementation 'junit:junit:4.13.2'
  38. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  39. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  40. implementation 'com.google.code.gson:gson:2.8.9'
  41. implementation("com.squareup.okhttp3:okhttp:4.10.0")
  42. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  43. implementation 'org.webrtc:google-webrtc:1.0.32006'
  44. }