build.gradle 1.2 KB

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