aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-06-28 10:36:28 +0300
committerGravatar Vitaly Takmazov2016-06-28 10:36:28 +0300
commit331645f0fd7fbe7d9679d39dcce453cc3b2cab6e (patch)
tree53813518b0a831fc88162191525edc8003284bb1 /build.gradle
parent95e150755d1b11bd78fc604aa7283f2765b2ee46 (diff)
spring-websocket
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle12
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'