diff options
author | Vitaly Takmazov | 2016-05-07 20:38:47 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-05-07 20:38:47 +0300 |
commit | 015db36a14f29837f864a1d18797a05a2d0d8098 (patch) | |
tree | 9e3d6f0d30c1a71601143b96db99c333f0cd2959 /build.gradle | |
parent | 99469f9f3185cb7963d8ab4bbdc7c5a6a583598b (diff) |
gretty
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 13 |
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' } |