build.gradle 952 B

1234567891011121314151617181920212223242526272829303132
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion ANDROID_COMPILE_SDK_VERSION as int
  4. defaultConfig {
  5. minSdkVersion ANDROID_MIN_SDK_VERSION as int
  6. targetSdkVersion ANDORID_TARGET_SDK_VERSION as int
  7. versionCode VERSION_CODE as int
  8. versionName VERSION_NAME
  9. }
  10. buildTypes {
  11. release {
  12. minifyEnabled false
  13. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  14. }
  15. }
  16. compileOptions {
  17. sourceCompatibility JavaVersion.VERSION_1_8
  18. targetCompatibility JavaVersion.VERSION_1_8
  19. }
  20. }
  21. dependencies {
  22. implementation fileTree(include: ['*.jar'], dir: 'libs')
  23. androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
  24. exclude group: 'com.android.support', module: 'support-annotations'
  25. })
  26. implementation "com.android.support:appcompat-v7:$supportLibVersion"
  27. }