You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.gradle 1.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. configurations {
  2. bundle
  3. compile {
  4. extendsFrom bundle
  5. }
  6. }
  7. dependencies {
  8. compile group: 'com.google.code.findbugs', name: 'jsr305', version: '2.+'
  9. compile group: 'com.squareup.dagger', name: 'dagger-compiler', version: '1.2.1'
  10. bundle group: 'com.squareup.dagger', name: 'dagger', version: '1.2.1'
  11. bundle group: 'com.esotericsoftware.yamlbeans', name: 'yamlbeans', version: '1.+'
  12. bundle group: 'com.brsanthu', name: 'migbase64', version: '2.2'
  13. bundle group: 'net.kencochrane.raven', name: 'raven', version: '4.+'
  14. bundle group: 'com.google.guava', name:'guava', version: '17.+'
  15. bundle group: 'net.engio', name: 'mbassador', version: '1.1.10'
  16. bundle project(':modules:util')
  17. bundle project(':modules:parser')
  18. }
  19. allprojects {
  20. apply plugin: 'java'
  21. apply plugin: 'pmd'
  22. sourceSets {
  23. main {
  24. java {
  25. srcDir 'src'
  26. }
  27. resources {
  28. srcDir 'res'
  29. }
  30. }
  31. test {
  32. java {
  33. srcDir 'test'
  34. }
  35. resources {
  36. srcDir 'test-res'
  37. }
  38. }
  39. }
  40. sourceCompatibility = 1.7
  41. targetCompatibility = 1.7
  42. repositories {
  43. mavenCentral()
  44. maven {
  45. url 'http://nexus.dmdirc.com/nexus/content/repositories/thirdparty/'
  46. }
  47. }
  48. dependencies {
  49. testCompile group: 'junit', name: 'junit', version: '4.+'
  50. testCompile group: 'org.mockito', name: 'mockito-all', version: '1.+'
  51. }
  52. pmd {
  53. ruleSets = []
  54. ruleSetFiles = files("$rootDir/etc/pmd/full.xml")
  55. }
  56. }
  57. task wrapper(type: Wrapper) {
  58. gradleVersion = '2.1'
  59. }