diff options
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/build.gradle b/build.gradle index 0eb80dd4..92b44bec 100644 --- a/build.gradle +++ b/build.gradle @@ -6,9 +6,7 @@ subprojects { } apply plugin: 'java' -apply plugin: 'application' - -mainClassName = "com.juick.jabber.ws.Main" +apply plugin: 'war' repositories { mavenCentral() @@ -41,9 +39,13 @@ dependencies { compile server compile xmpp compile json - compile "org.springframework:spring-jdbc:4.3.0.RELEASE" + def springFrameworkVersion = '4.3.0.RELEASE' + compile "org.springframework:spring-jdbc:${springFrameworkVersion}" + compile "org.springframework:spring-websocket:${springFrameworkVersion}" + compile 'javax.inject:javax.inject:1' + compile 'org.apache.httpcomponents:httpclient:4.5.1' testCompile 'junit:junit:4.12' - runtime 'mysql:mysql-connector-java:5.1.37' + runtime 'mysql:mysql-connector-java:5.1.39' } compileJava.options.encoding = 'UTF-8' |