build.gradle 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. plugins {
  2. id 'com.android.application'
  3. id 'kotlin-android'
  4. id 'kotlin-kapt'
  5. }
  6. android {
  7. compileSdkVersion 30
  8. buildToolsVersion "30.0.2"
  9. defaultConfig {
  10. applicationId "com.mrozon.teamviewexample"
  11. minSdkVersion 21
  12. targetSdkVersion 30
  13. versionCode 1
  14. versionName "1.0"
  15. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  16. }
  17. buildTypes {
  18. release {
  19. minifyEnabled false
  20. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  21. }
  22. }
  23. compileOptions {
  24. sourceCompatibility JavaVersion.VERSION_1_8
  25. targetCompatibility JavaVersion.VERSION_1_8
  26. }
  27. kotlinOptions {
  28. jvmTarget = '1.8'
  29. }
  30. buildFeatures {
  31. dataBinding true
  32. }
  33. }
  34. dependencies {
  35. implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
  36. implementation 'androidx.core:core-ktx:1.3.2'
  37. implementation 'androidx.appcompat:appcompat:1.2.0'
  38. implementation 'com.google.android.material:material:1.2.1'
  39. implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  40. implementation 'io.coil-kt:coil:1.1.0'
  41. testImplementation 'junit:junit:4.+'
  42. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  43. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  44. }