build.gradle 822 B

1234567891011121314151617181920212223242526272829303132
  1. buildscript {
  2. repositories {
  3. jcenter()
  4. }
  5. dependencies {
  6. classpath "io.ratpack:ratpack-gradle:1.5.4"
  7. classpath "com.github.jengelman.gradle.plugins:shadow:1.2.4"
  8. }
  9. }
  10. apply plugin: "io.ratpack.ratpack-java"
  11. apply plugin: "com.github.johnrengelman.shadow"
  12. apply plugin: "idea"
  13. apply plugin: "eclipse"
  14. repositories {
  15. jcenter()
  16. }
  17. dependencies {
  18. compile 'io.ratpack:ratpack-guice:1.5.4'
  19. compile 'io.ratpack:ratpack-hikari:1.5.4'
  20. compile 'io.ratpack:ratpack-handlebars:1.5.4'
  21. // Default SLF4J binding. Note that this is a blocking implementation.
  22. // See here for a non blocking appender http://logging.apache.org/log4j/2.x/manual/async.html
  23. runtime 'org.slf4j:slf4j-simple:1.7.25'
  24. runtime 'mysql:mysql-connector-java:5.1.46'
  25. }
  26. mainClassName = "Main"