build.gradle 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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: 'cz.senslog', name: 'common', version: '1.0.0'
  29. compile group: 'com.beust', name: 'jcommander', version: '1.78'
  30. compile group: 'io.vertx', name: 'vertx-core', version: '3.8.5'
  31. compile group: 'io.vertx', name: 'vertx-web', version: '3.8.5'
  32. compile group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: '2.13.1'
  33. compile group: 'org.jdbi', name: 'jdbi3-postgres', version: '3.12.2'
  34. compile group: 'org.jdbi', name: 'jdbi3-jodatime2', version: '3.12.2'
  35. compile group: 'com.zaxxer', name: 'HikariCP', version: '3.4.2'
  36. compile group: 'org.postgresql', name: 'postgresql', version: '42.2.10'
  37. compile group: 'com.h2database', name: 'h2', version: '1.4.200'
  38. implementation 'com.google.dagger:dagger:2.26'
  39. annotationProcessor 'com.google.dagger:dagger-compiler:2.26'
  40. }