You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.gradle 1006B

123456789101112131415161718192021222324252627282930313233343536
  1. apply plugin: 'com.android.library'
  2. apply plugin: 'de.mobilej.unmock'
  3. android {
  4. compileSdkVersion 22
  5. buildToolsVersion "22.0.1"
  6. defaultConfig {
  7. minSdkVersion 14
  8. targetSdkVersion 22
  9. versionCode 1
  10. versionName "0.2.0"
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled false
  15. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  16. }
  17. }
  18. }
  19. unMock {
  20. // URI to download the android-all.jar from. e.g. https://oss.sonatype.org/content/groups/public/org/robolectric/android-all/
  21. downloadFrom 'https://oss.sonatype.org/content/groups/public/org/robolectric/android-all/4.3_r2-robolectric-0/android-all-4.3_r2-robolectric-0.jar'
  22. keepStartingWith "org.json."
  23. keep "android.util.Base64"
  24. }
  25. dependencies {
  26. compile fileTree(dir: 'libs', include: ['*.jar'])
  27. testCompile 'junit:junit:4.12'
  28. compile 'com.android.volley:volley:1.0.0'
  29. compile 'net.danlew:android.joda:2.9.4.2'
  30. }