You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
662 B
25 lines
662 B
apply plugin: 'io.spring.convention.spring-sample-war' |
|
|
|
def keystore = "$rootDir/samples/certificates/server.jks" |
|
def password = 'password' |
|
|
|
gretty { |
|
httpsEnabled = true |
|
httpsPort = 8443 |
|
sslKeyStorePath = keystore |
|
sslKeyStorePassword = password |
|
jvmArgs = ["-Djavax.net.ssl.trustStore=${keystore}", |
|
"-Djavax.net.ssl.trustStorePassword=${password}", |
|
"-Dcas.server.host=localhost:$httpsPort", |
|
"-Dcas.service.host=localhost:$httpsPort"] |
|
} |
|
|
|
farm { |
|
webapp ':spring-security-samples-xml-casserver' |
|
webapp ':spring-security-samples-xml-cassample' |
|
} |
|
|
|
task cas(dependsOn: 'farmRunWar') { |
|
group 'Gretty tasks' |
|
description 'Run CAS Server and Sample' |
|
}
|
|
|