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
@@ -9,9 +9,10 @@ buildscript {
}
dependencies {
classpath 'bmuschko:gradle-tomcat-plugin:0.9.1'
classpath 'bmuschko:gradle-tomcat-plugin:0.9.2'
}
}
apply plugin: 'war'
apply plugin: 'eclipse'
apply plugin: 'tomcat'
@@ -60,7 +61,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}") {
@@ -125,5 +126,7 @@ dependencies {
[tomcatRun, tomcatRunWar, tomcatStop]*.with {
configFile = file('src/test/resources/META-INF/context.xml')
httpPort = 8080
httpsPort = 8443
stopPort = 8081
enableSSL = true
}