build.gradle 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. apply plugin: 'com.android.application'
  2. android {
  3. signingConfigs {
  4. release {
  5. keyAlias 'key0'
  6. keyPassword 'android'
  7. storeFile file('Z:/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 1
  17. versionName "1.0.1"
  18. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  19. vectorDrawables.useSupportLibrary = true
  20. signingConfig signingConfigs.release
  21. multiDexEnabled true
  22. }
  23. buildTypes {
  24. release {
  25. minifyEnabled false
  26. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  27. signingConfig signingConfigs.release
  28. }
  29. debug {
  30. applicationIdSuffix ".debug"
  31. }
  32. }
  33. buildToolsVersion '28.0.3'
  34. compileOptions {
  35. sourceCompatibility JavaVersion.VERSION_1_8
  36. targetCompatibility JavaVersion.VERSION_1_8
  37. }
  38. sourceSets {
  39. main { res.srcDirs = ['src/main/res'] }
  40. release { res.srcDirs = ['src/main/res_release'] }
  41. debug { res.srcDirs = ['src/main/res_debug'] }
  42. }
  43. }
  44. dependencies {
  45. implementation fileTree(include: ['*.jar'], dir: 'libs')
  46. implementation 'com.android.support:appcompat-v7:28.0.0'
  47. implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  48. implementation 'com.android.support:support-v4:28.0.0'
  49. implementation 'com.android.support:support-vector-drawable:28.0.0'
  50. implementation 'com.android.support:design:28.0.0'
  51. implementation 'com.android.support:multidex:1.0.3'
  52. testImplementation 'junit:junit:4.12'
  53. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  54. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  55. implementation 'org.bouncycastle:bcpg-jdk15on:1.60'
  56. implementation 'org.bouncycastle:bcprov-jdk15on:1.60'
  57. implementation project(path: ':gitdroid')
  58. implementation 'org.eclipse.jgit:org.eclipse.jgit:5.11.0.202103091610-r'
  59. }