aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle13
1 files changed, 5 insertions, 8 deletions
diff --git a/build.gradle b/build.gradle
index 8d7735a3..b371b889 100644
--- a/build.gradle
+++ b/build.gradle
@@ -13,14 +13,14 @@ buildscript {
dependencies {
classpath 'com.eriwen:gradle-css-plugin:1.11.1'
classpath 'com.eriwen:gradle-js-plugin:1.12.1'
- 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: 'war'
apply plugin: 'css'
-apply plugin: 'com.bmuschko.tomcat'
+apply plugin: 'org.akhikhl.gretty'
apply plugin: 'com.eriwen.gradle.js'
apply plugin: 'com.github.tkruse.groovysh'
@@ -65,10 +65,6 @@ dependencies {
compile 'org.json:json:20151123'
providedCompile 'javax.servlet:javax.servlet-api:3.1.0'
runtime 'mysql:mysql-connector-java:5.1.37'
- 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}"
}
javascript.source {
@@ -115,7 +111,8 @@ assemble.dependsOn 'minifyJs'
compileJava.options.encoding = 'UTF-8'
-tomcat {
+gretty {
httpPort = 8080
- contextPath = '/'
+ contextPath = ''
+ servletContainer = 'tomcat8'
}