build.gradle 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. apply plugin: 'com.android.library'
  2. apply plugin: 'bintray-release'
  3. android {
  4. compileSdkVersion 21
  5. buildToolsVersion "21.1.1"
  6. defaultConfig {
  7. minSdkVersion 8
  8. targetSdkVersion 21
  9. versionCode 1
  10. versionName "0.4.1"
  11. }
  12. buildTypes {
  13. release {
  14. // runProguard false
  15. // proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  16. }
  17. }
  18. lintOptions {
  19. abortOnError false
  20. }
  21. }
  22. dependencies {
  23. compile fileTree(dir: 'libs', include: ['*.jar'])
  24. compile 'com.android.support:appcompat-v7:21.+'
  25. compile 'com.android.support:support-annotations:21.+'
  26. }
  27. publish {
  28. userOrg = 'drummer-aidan'
  29. groupId = 'com.afollestad'
  30. artifactId = 'material-dialogs'
  31. version = '0.4.1'
  32. description = 'A library for implementing Material design styled dialogs across all versions of Android.'
  33. website = 'https://github.com/afollestad/material-dialogs'
  34. issueTracker = "${website}/issues"
  35. repository = "${website}.git"
  36. }