build.gradle 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. buildscript {
  2. repositories {
  3. mavenCentral()
  4. }
  5. }
  6. apply plugin: 'com.android.application'
  7. ext {
  8. PUBLISH_VERSION = '0.9.2.3'
  9. SUPPORT_LIBRARY_VERSION = '25.1.0'
  10. BUILD_TOOLS = "25.0.1"
  11. TARGET_SDK = 25
  12. }
  13. android {
  14. compileSdkVersion TARGET_SDK
  15. buildToolsVersion BUILD_TOOLS
  16. defaultConfig {
  17. applicationId "com.afollestad.materialdialogssample"
  18. minSdkVersion 13
  19. targetSdkVersion TARGET_SDK
  20. versionCode 171
  21. versionName PUBLISH_VERSION
  22. jackOptions {
  23. enabled true
  24. }
  25. }
  26. compileOptions {
  27. sourceCompatibility JavaVersion.VERSION_1_8
  28. targetCompatibility JavaVersion.VERSION_1_8
  29. }
  30. lintOptions {
  31. abortOnError false
  32. }
  33. buildTypes {
  34. release {
  35. minifyEnabled false
  36. shrinkResources false
  37. }
  38. }
  39. }
  40. dependencies {
  41. compile project(':core')
  42. compile project(':commons')
  43. compile "com.android.support:gridlayout-v7:$SUPPORT_LIBRARY_VERSION"
  44. compile 'com.jakewharton:butterknife:8.1.0'
  45. annotationProcessor 'com.jakewharton:butterknife-compiler:8.1.0'
  46. }