build.gradle 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. compileSdkVersion 33
  6. defaultConfig {
  7. applicationId "me.yoqi.android.nanohttpdemo"
  8. minSdkVersion 16
  9. targetSdkVersion 33
  10. versionCode 100001
  11. versionName "1.0.1"
  12. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  18. }
  19. }
  20. compileOptions {
  21. sourceCompatibility JavaVersion.VERSION_1_8
  22. targetCompatibility JavaVersion.VERSION_1_8
  23. }
  24. }
  25. dependencies {
  26. implementation fileTree(dir: "libs", include: ["*.jar"])
  27. implementation 'androidx.appcompat:appcompat:1.6.1'
  28. implementation 'com.google.android.material:material:1.9.0'
  29. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  30. testImplementation 'junit:junit:4.13.2'
  31. androidTestImplementation 'androidx.test.ext:junit:1.1.5'
  32. androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
  33. }