build.gradle 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. group 'pronghorn'
  2. version '0.1.0'
  3. buildscript {
  4. ext {
  5. pronghornVersion = '0.1.3'
  6. kotlinVersion = '1.2.31'
  7. }
  8. repositories {
  9. jcenter()
  10. }
  11. dependencies {
  12. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
  13. }
  14. }
  15. apply plugin: 'kotlin'
  16. apply plugin: 'application'
  17. mainClassName = "pronghorn.TestServerKt"
  18. applicationDefaultJvmArgs = ['-server', '-XX:+AggressiveOpts']
  19. repositories {
  20. mavenCentral()
  21. }
  22. kotlin {
  23. experimental {
  24. coroutines 'enable'
  25. }
  26. }
  27. dependencies {
  28. compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
  29. compile "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion"
  30. compile 'ch.qos.logback:logback-classic:1.2.3'
  31. compile 'com.jsoniter:jsoniter:0.9.18' // json encoding library
  32. compile 'org.javassist:javassist:3.22.0-GA' // needed for faster json encoding mode
  33. compile 'org.mongodb:mongodb-driver-async:3.5.0' // async MongoDB driver
  34. compile 'com.github.httl:httl:1.0.11' // simple template engine
  35. compile "tech.pronghorn:server:$pronghornVersion"
  36. compile "tech.pronghorn:plugin-collections-jctools:$pronghornVersion"
  37. compile "tech.pronghorn:plugin-hashing-openhft:$pronghornVersion"
  38. compile "tech.pronghorn:plugin-logging-slf4j:$pronghornVersion"
  39. compile "tech.pronghorn:mongodb-driver-stream:$pronghornVersion"
  40. }