build.gradle 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. plugins {
  2. id 'com.android.application'
  3. id 'org.jetbrains.kotlin.android'
  4. }
  5. apply from: '../config/sign.gradle'
  6. android {
  7. namespace 'com.mxn.helper.screenshot'
  8. compileSdk 30
  9. signingConfigs {
  10. config {
  11. keyAlias propertyKeyAliasStr
  12. keyPassword propertyKeyPwdStr
  13. storeFile file(propertyStoreFileStr)
  14. storePassword propertyStorePwdStr
  15. }
  16. }
  17. defaultConfig {
  18. applicationId "com.mxn.helper.screenshot"
  19. minSdk 22
  20. targetSdk 30
  21. versionCode 2
  22. versionName "1.1"
  23. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  24. }
  25. buildTypes {
  26. debug {
  27. signingConfig signingConfigs.config
  28. }
  29. release {
  30. signingConfig signingConfigs.config
  31. minifyEnabled false
  32. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  33. }
  34. }
  35. compileOptions {
  36. sourceCompatibility JavaVersion.VERSION_1_8
  37. targetCompatibility JavaVersion.VERSION_1_8
  38. }
  39. kotlinOptions {
  40. jvmTarget = '1.8'
  41. }
  42. }
  43. dependencies {
  44. implementation fileTree("libs")
  45. implementation 'androidx.core:core-ktx:1.3.2'
  46. implementation 'androidx.appcompat:appcompat:1.2.0'
  47. implementation 'com.google.android.material:material:1.2.1'
  48. implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  49. implementation files('libs/framework.jar')
  50. testImplementation 'junit:junit:4.13.2'
  51. implementation 'com.koushikdutta.async:androidasync:2.+'
  52. // implementation 'org.nanohttpd:nanohttpd:2.3.1'
  53. implementation 'com.google.code.gson:gson:2.10.1'
  54. }