build.gradle 994 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. plugins {
  2. id "com.github.johnrengelman.shadow" version "4.0.1"
  3. }
  4. apply plugin: 'java'
  5. apply plugin: 'maven'
  6. apply plugin: 'application'
  7. group = 'com.vvvtimes.com'
  8. version = '1.0-SNAPSHOT'
  9. sourceCompatibility = 1.8
  10. targetCompatibility = 1.8
  11. tasks.withType(JavaCompile) {
  12. options.encoding = 'UTF-8'
  13. }
  14. mainClassName = 'com.vvvtimes.server.MainServer'
  15. jar {
  16. manifest {
  17. attributes 'Main-Class': mainClassName
  18. }
  19. }
  20. repositories {
  21. jcenter()
  22. }
  23. dependencies {
  24. compile group: 'org.eclipse.jetty.aggregate', name: 'jetty-all', version: '8.1.22.v20160922'
  25. compile group: 'org.bouncycastle', name: 'bcprov-jdk15on', version: '1.60'
  26. compile group: 'commons-codec', name: 'commons-codec', version: '1.11'
  27. compile group: 'net.sf.json-lib', name: 'json-lib', version: '2.4', classifier: 'jdk15'
  28. compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.1'
  29. compileOnly group: 'javax.servlet', name: 'javax.servlet-api', version: '3.0.1'
  30. }