build.gradle 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. buildscript {
  2. repositories {
  3. mavenCentral()
  4. }
  5. dependencies {
  6. classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
  7. }
  8. }
  9. apply plugin: 'com.android.application'
  10. apply plugin: 'com.neenbedankt.android-apt'
  11. ext {
  12. PUBLISH_VERSION = '0.9.0.2'
  13. SUPPORT_LIBRARY_VERSION = '24.2.1'
  14. BUILD_TOOLS = "24.0.2"
  15. TARGET_SDK = 24
  16. }
  17. android {
  18. compileSdkVersion TARGET_SDK
  19. buildToolsVersion BUILD_TOOLS
  20. defaultConfig {
  21. applicationId "com.afollestad.materialdialogssample"
  22. minSdkVersion 9
  23. targetSdkVersion TARGET_SDK
  24. versionCode 167
  25. versionName PUBLISH_VERSION
  26. }
  27. lintOptions {
  28. abortOnError false
  29. }
  30. buildTypes {
  31. release {
  32. minifyEnabled true
  33. shrinkResources true
  34. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  35. }
  36. }
  37. }
  38. dependencies {
  39. compile project(':core')
  40. compile project(':commons')
  41. compile "com.android.support:gridlayout-v7:$SUPPORT_LIBRARY_VERSION"
  42. compile 'com.jakewharton:butterknife:8.1.0'
  43. apt 'com.jakewharton:butterknife-compiler:8.1.0'
  44. }