build.gradle 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 false
  25. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  26. }
  27. }
  28. compileOptions {
  29. sourceCompatibility JavaVersion.VERSION_11
  30. targetCompatibility JavaVersion.VERSION_11
  31. }
  32. }
  33. dependencies {
  34. implementation fileTree(dir: "libs", include: ["*.jar"])
  35. implementation 'androidx.appcompat:appcompat:1.6.1'
  36. implementation 'com.google.android.material:material:1.9.0'
  37. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  38. testImplementation 'junit:junit:4.13.2'
  39. androidTestImplementation 'androidx.test.ext:junit:1.1.5'
  40. androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
  41. }