build.gradle 1.4 KB

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