build.gradle 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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.8.6.0'
  13. SUPPORT_LIBRARY_VERSION = '24.0.0'
  14. BUILD_TOOLS = "24.0.0"
  15. TARGET_SDK = 24
  16. }
  17. android {
  18. compileSdkVersion TARGET_SDK
  19. buildToolsVersion BUILD_TOOLS
  20. signingConfigs {
  21. production {
  22. keyAlias 'afollestad'
  23. keyPassword 'aidan1995'
  24. storeFile file('./keystore.jks')
  25. storePassword 'aidan1995'
  26. }
  27. }
  28. defaultConfig {
  29. applicationId "com.afollestad.materialdialogssample"
  30. minSdkVersion 9
  31. targetSdkVersion TARGET_SDK
  32. versionCode 162
  33. versionName PUBLISH_VERSION
  34. }
  35. lintOptions {
  36. abortOnError false
  37. }
  38. buildTypes {
  39. debug {
  40. signingConfig signingConfigs.production
  41. }
  42. release {
  43. signingConfig signingConfigs.production
  44. minifyEnabled true
  45. shrinkResources true
  46. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  47. }
  48. }
  49. }
  50. dependencies {
  51. compile project(':core')
  52. compile project(':commons')
  53. compile "com.android.support:gridlayout-v7:$SUPPORT_LIBRARY_VERSION"
  54. compile 'com.jakewharton:butterknife:8.1.0'
  55. apt 'com.jakewharton:butterknife-compiler:8.1.0'
  56. }