add https support for platform available at localhost:8443 by default when running from command line.

This commit is contained in:
Keith Woodlock
2012-05-21 17:36:51 +01:00
parent 69722c9409
commit 4a8d5a86f6
14 changed files with 138 additions and 212 deletions
+5 -2
View File
@@ -7,7 +7,7 @@ buildscript {
}
dependencies {
classpath 'bmuschko:gradle-tomcat-plugin:0.9.1'
classpath 'bmuschko:gradle-tomcat-plugin:0.9.2'
}
}
@@ -53,7 +53,7 @@ configurations {
dependencies {
def tomcatVersion = '7.0.26'
def tomcatVersion = '7.0.27'
tomcat "org.apache.tomcat.embed:tomcat-embed-core:${tomcatVersion}",
"org.apache.tomcat.embed:tomcat-embed-logging-juli:${tomcatVersion}"
tomcat("org.apache.tomcat.embed:tomcat-embed-jasper:${tomcatVersion}") {
@@ -97,6 +97,9 @@ dependencies {
}
[tomcatRun, tomcatRunWar, tomcatStop]*.with {
configFile = file('src/test/resources/META-INF/context.xml')
httpPort = 8085
httpsPort = 8444
stopPort = 8082
enableSSL = true;
}