build.gradle 1.3 KB

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