build.gradle 878 B

12345678910111213141516171819202122232425262728293031
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion COMPILE_SDK_VERSION
  4. buildToolsVersion BUILD_TOOLS_VERSION
  5. defaultConfig {
  6. minSdkVersion MIN_SDK_VERSION
  7. targetSdkVersion TARGET_SDK_VERSION
  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. }
  19. dependencies {
  20. compile fileTree(dir: 'libs', include: ['*.jar'])
  21. androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
  22. exclude group: 'com.android.support', module: 'support-annotations'
  23. })
  24. compile 'com.android.support:appcompat-v7:25.3.1'
  25. testCompile 'junit:junit:4.12'
  26. }