Guest User

module 1 - annotations

a guest
Jan 13th, 2022
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. apply plugin: 'kotlin-android'
  2. apply plugin: 'kotlin-kapt'
  3. apply plugin: 'com.android.library'
  4.  
  5. android {
  6. compileSdk 31
  7.  
  8. defaultConfig {
  9. minSdk 19
  10. targetSdk 31
  11. versionCode 1
  12. versionName "1.0"
  13.  
  14. //applicationId = "com.example.ex"
  15. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  16. consumerProguardFiles "consumer-rules.pro"
  17. }
  18.  
  19. buildTypes {
  20. release {
  21. minifyEnabled false
  22. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  23. }
  24. }
  25. compileOptions {
  26. sourceCompatibility JavaVersion.VERSION_1_8
  27. targetCompatibility JavaVersion.VERSION_1_8
  28. }
  29. kotlinOptions {
  30. jvmTarget = '1.8'
  31. }
  32. }
  33.  
  34.  
  35. repositories {
  36. mavenCentral()
  37. google()
  38. }
  39.  
  40.  
  41. dependencies {
  42. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0"
  43. implementation "androidx.room:room-common:2.4.0"
  44. implementation 'androidx.room:room-runtime:2.2.6'
  45. }
Add Comment
Please, Sign In to add comment