build.gradle 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. namespace 'com.example.test'
  6. compileSdk 32
  7. defaultConfig {
  8. applicationId "com.example.test"
  9. minSdk 21
  10. targetSdk 32
  11. versionCode 1
  12. versionName "1.0"
  13. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  14. }
  15. buildTypes {
  16. release {
  17. minifyEnabled false
  18. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  19. }
  20. }
  21. compileOptions {
  22. sourceCompatibility JavaVersion.VERSION_1_8
  23. targetCompatibility JavaVersion.VERSION_1_8
  24. }
  25. }
  26. dependencies {
  27. implementation 'com.squareup.retrofit2:retrofit:2.9.0'
  28. implementation 'com.squareup.retrofit2:converter-gson:2.5.0'
  29. implementation 'androidx.appcompat:appcompat:1.5.1'
  30. implementation 'com.google.android.material:material:1.7.0'
  31. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  32. implementation files('libs\\jtds-1.3.1.jar')
  33. testImplementation 'junit:junit:4.13.2'
  34. androidTestImplementation 'androidx.test.ext:junit:1.1.4'
  35. androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0'
  36. }