build.gradle 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. apply plugin: 'com.android.application'
  2. apply plugin: com.gradle.AresPlugin
  3. android {
  4. compileSdkVersion 25
  5. buildToolsVersion "25.0.2"
  6. defaultConfig {
  7. applicationId "com.uddream.gradle.plugin"
  8. minSdkVersion 19
  9. targetSdkVersion 25
  10. versionCode 1
  11. versionName "1.0"
  12. }
  13. signingConfigs {
  14. }
  15. buildTypes {
  16. release {
  17. }
  18. }
  19. productFlavors {
  20. }
  21. packagingOptions {
  22. exclude 'META-INF/DEPENDENCIES.txt'
  23. exclude 'META-INF/LICENSE.txt'
  24. exclude 'META-INF/NOTICE.txt'
  25. exclude 'META-INF/NOTICE'
  26. exclude 'META-INF/LICENSE'
  27. exclude 'META-INF/DEPENDENCIES'
  28. exclude 'META-INF/notice.txt'
  29. exclude 'META-INF/license.txt'
  30. exclude 'META-INF/dependencies.txt'
  31. exclude 'META-INF/LGPL2.1'
  32. }
  33. lintOptions {
  34. abortOnError false
  35. }
  36. }
  37. dependencies {
  38. compile fileTree(include: ['*.jar'], dir: 'libs')
  39. compile 'com.android.support:design:23.0.1'
  40. compile 'com.android.support:appcompat-v7:23.0.1'
  41. compile 'com.android.support:cardview-v7:23.0.1'
  42. compile 'com.android.support:palette-v7:23.0.1'
  43. compile 'com.github.bumptech.glide:glide:3.7.0'
  44. compile 'de.greenrobot:eventbus:2.4.0'
  45. compile project(':mylibrary')
  46. }
  47. ares {
  48. agentClass = 'com/uddream/plugin/Agent'
  49. excludes = ['libs', 'eventbus-2.4.0.jar']
  50. }