build.gradle 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. apply plugin: 'com.android.application'
  2. android {
  3. signingConfigs {
  4. release {
  5. keyAlias 'key0'
  6. keyPassword 'android'
  7. storeFile file('Z:/isundil/keys/androidKey.gpg')
  8. storePassword 'android'
  9. }
  10. }
  11. compileSdkVersion 29
  12. defaultConfig {
  13. applicationId "info.knacki.pass"
  14. minSdkVersion 15
  15. targetSdkVersion 29
  16. versionCode 4
  17. versionName "1.0.4"
  18. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  19. vectorDrawables.useSupportLibrary = true
  20. signingConfig signingConfigs.release
  21. }
  22. buildTypes {
  23. release {
  24. minifyEnabled false
  25. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  26. signingConfig signingConfigs.release
  27. }
  28. debug {
  29. applicationIdSuffix ".debug"
  30. }
  31. }
  32. buildToolsVersion '28.0.3'
  33. compileOptions {
  34. sourceCompatibility JavaVersion.VERSION_1_8
  35. targetCompatibility JavaVersion.VERSION_1_8
  36. }
  37. sourceSets {
  38. main { res.srcDirs = ['src/main/res'] }
  39. release { res.srcDirs = ['src/main/res_release'] }
  40. debug { res.srcDirs = ['src/main/res_debug'] }
  41. }
  42. }
  43. dependencies {
  44. implementation fileTree(include: ['*.jar'], dir: 'libs')
  45. implementation 'com.android.support:appcompat-v7:28.0.0'
  46. implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  47. implementation 'com.android.support:support-v4:28.0.0'
  48. implementation 'com.android.support:support-vector-drawable:28.0.0'
  49. implementation 'com.android.support:design:28.0.0'
  50. testImplementation 'junit:junit:4.12'
  51. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  52. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  53. implementation 'org.bouncycastle:bcpg-jdk15on:1.60'
  54. implementation 'org.bouncycastle:bcprov-jdk15on:1.60'
  55. implementation project(path: ':gitdroid')
  56. }