aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle27
1 files changed, 10 insertions, 17 deletions
diff --git a/build.gradle b/build.gradle
index d9317928..84617e95 100644
--- a/build.gradle
+++ b/build.gradle
@@ -4,21 +4,20 @@ subprojects {
mavenCentral()
}
}
-
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
- classpath 'com.bmuschko:gradle-tomcat-plugin:2.2.+'
+ classpath 'org.akhikhl.gretty:gretty:+'
classpath 'com.tkruse.gradle:gradle-groovysh-plugin:1.0.7'
}
}
apply plugin: 'java'
apply plugin: 'war'
-apply plugin: 'com.bmuschko.tomcat'
+apply plugin: 'org.akhikhl.gretty'
apply plugin: 'com.github.tkruse.groovysh'
repositories {
@@ -35,40 +34,34 @@ project(':deps:com.juick.server') {
compile core
}
}
-
project(':deps:com.juick.xmpp') {
dependencies {
compile core
}
}
-
project(':deps:com.juick.json') {
dependencies {
compile core
}
}
-
+configurations.all {
+ exclude group: "commons-logging", module: "commons-logging"
+}
dependencies {
compile core
compile server
compile xmpp
compile json
compile "org.apache.commons:commons-lang3:3.4"
- compile 'com.github.pengrad:java-telegram-bot-api:2.0.1'
- compile 'com.neovisionaries:nv-websocket-client:1.27'
+ compile "org.springframework:spring-jdbc:4.2.6.RELEASE"
providedCompile 'javax.servlet:javax.servlet-api:3.1.0'
- def tomcatVersion = '7.0.+'
- tomcat "org.apache.tomcat.embed:tomcat-embed-core:${tomcatVersion}",
- "org.apache.tomcat.embed:tomcat-embed-logging-juli:${tomcatVersion}",
- "org.apache.tomcat.embed:tomcat-embed-jasper:${tomcatVersion}"
- testCompile 'junit:junit:4.12'
- runtime 'mysql:mysql-connector-java:5.1.37'
+ compile 'javax.inject:javax.inject:1'
+ runtime 'mysql:mysql-connector-java:5.1.39'
testRuntime 'com.h2database:h2:1.4.190'
}
-
compileJava.options.encoding = 'UTF-8'
-
-tomcat {
+gretty {
httpPort = 8080
contextPath = '/'
+ servletContainer = 'tomcat8'
}