build.gradle 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. plugins {
  2. id 'java'
  3. }
  4. group 'cz.senslog'
  5. version '1.2'
  6. //version '1.3-SNAPSHOT'
  7. sourceCompatibility = 1.8
  8. repositories {
  9. mavenCentral()
  10. mavenLocal()
  11. }
  12. test {
  13. useJUnitPlatform()
  14. }
  15. jar {
  16. manifest {
  17. attributes(
  18. 'Main-Class': 'cz.senslog.analyzer.app.Main'
  19. )
  20. }
  21. from {
  22. configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
  23. }
  24. }
  25. dependencies {
  26. testCompile group: 'org.junit.jupiter', name: 'junit-jupiter', version: '5.6.0'
  27. testCompile group: 'org.mockito', name: 'mockito-core', version: '3.6.28'
  28. compile group: 'com.beust', name: 'jcommander', version: '1.78'
  29. compile group: 'com.google.code.gson', name: 'gson', version: '2.8.9'
  30. implementation group: 'org.yaml', name: 'snakeyaml', version: '1.29'
  31. implementation group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.13'
  32. implementation group: 'org.everit.json', name: 'org.everit.json.schema', version: '1.5.1'
  33. compile group: 'io.vertx', name: 'vertx-core', version: '4.2.1'
  34. compile group: 'io.vertx', name: 'vertx-web', version: '4.2.1'
  35. compile group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: '2.13.1'
  36. compile group: 'org.jdbi', name: 'jdbi3-postgres', version: '3.12.2'
  37. compile group: 'org.jdbi', name: 'jdbi3-jodatime2', version: '3.12.2'
  38. compile group: 'com.zaxxer', name: 'HikariCP', version: '3.4.2'
  39. compile group: 'org.postgresql', name: 'postgresql', version: '42.2.10'
  40. compile group: 'com.h2database', name: 'h2', version: '1.4.200'
  41. implementation 'com.google.dagger:dagger:2.40.1'
  42. annotationProcessor 'com.google.dagger:dagger-compiler:2.40.1'
  43. }