build.gradle 1010 B

123456789101112131415161718192021222324252627282930313233343536
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 24
  4. buildToolsVersion '26.0.2'
  5. defaultConfig {
  6. minSdkVersion 19
  7. targetSdkVersion 24
  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. compileOptions {
  19. sourceCompatibility JavaVersion.VERSION_1_7
  20. targetCompatibility JavaVersion.VERSION_1_7
  21. }
  22. }
  23. dependencies {
  24. compile fileTree(include: ['*.jar'], dir: 'libs')
  25. androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
  26. exclude group: 'com.android.support', module: 'support-annotations'
  27. })
  28. compile 'com.android.support:appcompat-v7:25.0.1'
  29. testCompile 'junit:junit:4.12'
  30. compile 'com.android.support:recyclerview-v7:23.1.1'
  31. }