build.gradle 766 B

1234567891011121314151617181920212223242526272829303132
  1. apply plugin: 'java'
  2. apply plugin: 'eclipse'
  3. apply plugin: 'application'
  4. // compiler options
  5. sourceCompatibility = JavaVersion.VERSION_11
  6. targetCompatibility = JavaVersion.VERSION_11
  7. mainClassName = 'app.BenchmarkMain'
  8. repositories {
  9. mavenCentral()
  10. }
  11. dependencies {
  12. // Framework
  13. def framework_version = '1.0.0'
  14. implementation "net.javapla.jawn:jawn:${framework_version}"
  15. implementation "net.javapla.jawn:jawn-database-hikari:${framework_version}"
  16. // Database
  17. compile 'org.postgresql:postgresql:42.2.8'
  18. }
  19. /* ****************** */
  20. /* Application */
  21. /* ****************** */
  22. application {
  23. applicationDefaultJvmArgs = ['-server', '-XX:+UseParallelGC','-XX:+UseNUMA', '-XX:+UseStringDeduplication','-Xms4g', '-Xmx4g']
  24. }