build.gradle 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. buildscript {
  2. repositories {
  3. jcenter()
  4. google()
  5. }
  6. dependencies {
  7. classpath 'com.android.tools.build:gradle:3.0.0'
  8. }
  9. }
  10. apply plugin: 'com.android.application'
  11. repositories {
  12. jcenter()
  13. google()
  14. maven { url 'https://github.com/FireZenk/maven-repo/raw/master/'}
  15. maven { url 'https://jitpack.io' }
  16. }
  17. allprojects {
  18. project.ext {
  19. // these are common variables used in */build.gradle
  20. version_number="0.0.13"
  21. group_info="haven"
  22. signal_version="2.3.0"
  23. buildToolsVersion="26.0.2"
  24. compileSdkVersion=25
  25. minSdkVersion=16
  26. targetSdkVersion=25
  27. appcompat='com.android.support:appcompat-v7:25.2.0'
  28. }
  29. }
  30. android {
  31. compileSdkVersion 25
  32. buildToolsVersion '26.0.2'
  33. packagingOptions {
  34. exclude 'META-INF/LICENSE.txt'
  35. exclude 'META-INF/NOTICE.txt'
  36. exclude 'META-INF/DEPENDENCIES'
  37. exclude 'META-INF/NOTICE'
  38. exclude 'META-INF/LICENSE'
  39. exclude 'META-INF/LICENSE.txt'
  40. exclude 'META-INF/NOTICE.txt'
  41. }
  42. dexOptions {
  43. javaMaxHeapSize "1536m"
  44. preDexLibraries true
  45. }
  46. defaultConfig {
  47. applicationId "info.guardianproject.phoneypot"
  48. minSdkVersion 16
  49. targetSdkVersion 25
  50. compileOptions {
  51. sourceCompatibility JavaVersion.VERSION_1_7
  52. targetCompatibility JavaVersion.VERSION_1_7
  53. }
  54. multiDexEnabled true
  55. }
  56. buildTypes {
  57. release {
  58. minifyEnabled false
  59. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
  60. }
  61. }
  62. compileOptions {
  63. sourceCompatibility JavaVersion.VERSION_1_7
  64. targetCompatibility JavaVersion.VERSION_1_7
  65. }
  66. lintOptions {
  67. checkReleaseBuilds false
  68. abortOnError false
  69. }
  70. }
  71. dependencies {
  72. // compile project(':external:signal-cli')
  73. compile 'com.github.guardianproject:signal-cli-android:-SNAPSHOT'
  74. compile 'com.android.support:support-v4:25.4.0'
  75. compile 'com.github.satyan:sugar:1.5'
  76. compile 'com.android.support:appcompat-v7:25.4.0'
  77. compile 'com.android.support:design:25.4.0'
  78. compile 'com.android.support:cardview-v7:25.4.0'
  79. compile 'com.squareup.picasso:picasso:2.5.2'
  80. compile 'net.the4thdimension:audio-wife:1.0.3'
  81. compile 'com.github.apl-devs:appintro:v4.2.2'
  82. compile 'info.guardianproject.netcipher:netcipher:2.0.0-alpha1'
  83. compile 'com.nanohttpd:nanohttpd-webserver:2.2.0'
  84. compile 'com.android.support.constraint:constraint-layout:1.0.2'
  85. compile 'me.angrybyte.picker:picker:1.3.1'
  86. compile 'com.github.stfalcon:frescoimageviewer:0.5.0'
  87. compile 'com.facebook.fresco:fresco:1.4.0'
  88. compile 'com.github.derlio.waveform:library:1.0.3@aar'
  89. compile 'org.firezenk:audiowaves:1.1@aar'
  90. compile 'com.maxproj.simplewaveform:app:1.0.0'
  91. }