forked from Unicon/shib-mfa-duo-auth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
41 lines (35 loc) · 1.25 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
apply plugin: 'groovy'
apply plugin: 'distribution'
configurations {
provided
compile.extendsFrom provided
}
repositories {
maven { url 'https://build.shibboleth.net/nexus/content/groups/public'}
jcenter()
mavenLocal()
}
dependencies {
compile "org.codehaus.groovy:groovy-all:${project.'groovy.version'}"
compile "net.unicon.iam:duo-java:${project.'duo-java.version'}"
provided "org.springframework:spring-context:${project.'spring.version'}"
provided "org.springframework.webflow:spring-webflow:${project.'spring-webflow.version'}"
provided "org.slf4j:slf4j-api:${project.'slf4j.version'}"
provided "net.shibboleth.idp:idp-authn-api:${project.'shibboleth.version'}"
provided "net.shibboleth.idp:idp-authn-impl:${project.'shibboleth.version'}"
provided "net.shibboleth.idp:idp-session-api:${project.'shibboleth.version'}"
provided "javax.servlet:javax.servlet-api:3.0.1"
provided "com.google.guava:guava:${project.'guava.version'}"
}
distributions {
main {
contents {
duplicatesStrategy = 'exclude'
from {project.jar}
from {(project.configurations.compile - project.configurations.provided)}
}
}
}
task wrapper(type: Wrapper) {
gradleVersion = 2.2
}