build.gradle 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. apply plugin: 'com.android.library'
  2. apply from: '../dependencies.gradle'
  3. apply plugin: 'com.novoda.bintray-release'
  4. android {
  5. compileSdkVersion versions.compileSdk
  6. buildToolsVersion versions.buildTools
  7. defaultConfig {
  8. minSdkVersion versions.minSdk
  9. targetSdkVersion versions.compileSdk
  10. versionCode versions.publishVersionCode
  11. versionName versions.publishVersion
  12. }
  13. lintOptions {
  14. abortOnError false
  15. checkReleaseBuilds false
  16. }
  17. sourceSets {
  18. main.res.srcDirs = [
  19. 'src/main/res',
  20. 'src/main/res-public'
  21. ]
  22. }
  23. }
  24. dependencies {
  25. implementation 'com.google.code.findbugs:jsr305:' + versions.findBugs
  26. implementation 'com.android.support:appcompat-v7:' + versions.supportLib
  27. implementation 'com.android.support:support-annotations:' + versions.supportLib
  28. implementation 'com.android.support:recyclerview-v7:' + versions.supportLib
  29. implementation project(':core')
  30. }
  31. publish {
  32. userOrg = 'novoda'
  33. groupId = 'com.afollestad.material-dialogs'
  34. artifactId = 'commons'
  35. publishVersion = versions.publishVersion
  36. website = 'https://github.com/afollestad/material-dialogs'
  37. }