forked from UniconLabs/spring-security-saml-java-sp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
78 lines (66 loc) · 2.37 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
defaultTasks "build", "jettyRunWar"
allprojects {
repositories {
maven { url 'https://build.shibboleth.net/nexus/content/groups/public'}
jcenter()
mavenLocal()
}
}
buildscript {
repositories {
mavenLocal()
jcenter()
maven {
url "https://maven.eveoh.nl/content/repositories/releases"
}
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath "org.akhikhl.gretty:gretty:1.2.4"
}
}
apply plugin: 'war'
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: "org.akhikhl.gretty"
war.archiveName = "sp.war"
description = "Spring Security SAML v2 sample webapp"
dependencies {
compile "org.springframework.security.extensions:spring-security-saml2-core:${project.'spring-security-saml2.version'}",
"org.springframework:spring-core:${project.'spring.version'}",
"org.springframework:spring-beans:${project.'spring.version'}",
"org.springframework:spring-context:${project.'spring.version'}",
"org.springframework:spring-aop:${project.'spring.version'}",
"org.springframework:spring-web:${project.'spring.version'}",
"org.springframework:spring-webmvc:${project.'spring.version'}",
"org.springframework.security:spring-security-config:${project.'spring-security.version'}",
"org.slf4j:slf4j-log4j12:${project.'slf4j.version'}",
"javax.servlet:jstl:1.2"
providedCompile "javax.servlet:jsp-api:2.0"
testCompile "junit:junit:4.4"
}
configurations {
grettyRunnerJetty9 {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
if (details.requested.group == 'org.ow2.asm') {
details.useVersion('5.0.3')
}
if (details.requested.group == 'org.glassfish'
&& details.requested.name == 'javax.el') {
details.useVersion('3.0.0')
}
}
}
}
gretty {
jvmArgs = ["-Dorg.eclipse.jetty.annotations.maxWait=120","-Xdebug","-Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=n"]
scanInterval = 5
contextPath = '/sp'
httpsEnabled = true
httpsPort = 9443
httpPort = 8081
sslKeyStorePath = 'c:\\etc\\cas\\jetty\\thekeystore'
sslKeyStorePassword = 'changeit'
sslTrustStorePath = 'c:\\etc\\cas\\jetty\\thekeystore'
sslKeyStorePassword = 'changeit'
}