build.gradle 873 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 23
  4. buildToolsVersion "23.0.2"
  5. defaultConfig {
  6. minSdkVersion 9
  7. targetSdkVersion 23
  8. versionCode 1
  9. versionName "1.0"
  10. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled false
  15. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  16. }
  17. }
  18. packagingOptions {
  19. exclude 'LICENSE.txt'
  20. exclude 'META-INF/LICENSE.txt'
  21. }
  22. }
  23. dependencies {
  24. compile 'io.reactivex:rxjava:1.1.0'
  25. compile 'io.reactivex:rxandroid:1.1.0'
  26. androidTestCompile 'com.android.support.test:testing-support-lib:0.1'
  27. androidTestCompile('com.google.truth:truth:0.27') {
  28. exclude group: 'junit' // Android has JUnit built in
  29. }
  30. }
  31. task wrapper(type: Wrapper) {
  32. gradleVersion = '2.2.1'
  33. }