11apply plugin : ' groovy'
2- apply plugin : ' maven'
3- apply plugin : ' signing'
4- apply from : ' http://tellurianring.com/projects/gradle-plugins/gradle-release/apply.groovy'
5-
6- buildscript {
7- repositories {
8- maven { url ' http://repo.spring.io/plugins-release' }
9- }
10- dependencies {
11- classpath ' org.springframework.build.gradle:propdeps-plugin:0.0.7'
12- }
13- }
14-
15- configurations {
16- deployerJar
17- }
18-
19- configure(allprojects) {
20- apply plugin : ' propdeps'
21- apply plugin : ' propdeps-maven'
22- apply plugin : ' propdeps-idea'
23- apply plugin : ' propdeps-eclipse'
24- }
252
263repositories {
27- // Need this for javax.xml:xmldsig
284 mavenLocal()
295 mavenCentral()
30- jcenter()
31- maven {
32- url " http://maven.springframework.org/milestone/"
33- artifactUrls " http://maven.springframework.org/snapshot/"
34- }
35- maven { url " https://raw.github.com/synergian/wagon-git/releases" }
36- maven { url " https://build.shibboleth.net/nexus/content/repositories/releases" }
37- maven { url " https://build.shibboleth.net/nexus/content/groups/public" }
386}
397
408dependencies {
41- compile " org.codehaus.groovy:groovy-all:${ project."groovy.version"} "
42- compile " org.springframework.security.extensions:spring-security-saml2-core:${ project."spring-security-saml.version"} "
43- compile " org.opensaml:opensaml:${ project."opensaml.version"} "
44-
45- provided " org.jasig.cas:cas-server-core:${ project."cas.version"} "
46- provided " javax.servlet:servlet-api:2.5"
47-
48- testCompile " org.spockframework:spock-core:${ project."spock.version"} "
49-
50- deployerJar " ar.com.synergian:wagon-git:0.2.0"
51- }
52-
53- javadoc {
54- classpath = configurations. compile + configurations. provided
55- }
56-
57- task javadocJar (type : Jar , dependsOn : javadoc) {
58- classifier = " javadoc"
59- from ' build/docs/javadoc'
60- }
9+ implementation " org.codehaus.groovy:groovy-all:${ project."groovy.version"} "
10+ implementation " org.springframework.security.extensions:spring-security-saml2-core:${ project."spring-security-saml.version"} "
11+ implementation " org.opensaml:opensaml:${ project."opensaml.version"} "
6112
62- task sourcesJar (type : Jar ) {
63- from sourceSets. main. allSource
64- classifier = " sources"
65- }
66-
67- artifacts {
68- archives jar
69- archives javadocJar
70- archives sourcesJar
71- }
72-
73- signing {
74- required { gradle. taskGraph. hasTask(" uploadArchives" ) }
75- sign configurations. archives
76- }
77-
78- task wrapper (type : Wrapper ) {
79- gradleVersion = " 2.0"
80- }
81-
82-
83- createReleaseTag. dependsOn uploadArchives
84-
85- uploadArchives {
86- repositories {
87- mavenDeployer {
88- beforeDeployment { MavenDeployment deployment -> signing. signPom(deployment)}
89- configuration = configurations. deployerJar
90- repository(url : " https://api.bintray.com/maven/uniconiam/maven/cas-saml-auth" ) {
91- authentication(userName : bintrayUsername, password : bintrayAPIKey)
92- }
93- snapshotRepository(url : " git:snapshots://git@bitbucket.org:scalding/maven-repo.git" ) {
94- authentication(userName : githubUsername, password : githubPassword)
95- }
96- pom. project {
97- name " CAS SAML Authentication"
98- packaging " jar"
99- description " An Apereo CAS authentication module to allow SAML front channel authentication."
100- url " https://github.com/UniconLabs/cas-saml-auth"
101-
102- scm {
103- url " scm:git@github.com:UniconLabs/cas-saml-auth.git"
104- connection " scm:git@github.com:UniconLabs/cas-saml-auth.git"
105- developerConnection " scm:git@github.com:UniconLabs/cas-saml-auth.git"
106- }
107-
108- licenses {
109- license {
110- name ' The Apache Software License, Version 2.0'
111- url ' http://www.apache.org/licenses/LICENSE-2.0.txt'
112- distribution ' repo'
113- }
114- }
115-
116- developers {
117- developer {
118- id ' scalding'
119- name ' Jonathan Johnson'
120- }
121- }
122- }
123- }
124- }
125- }
13+ implementation(" org.springframework.webflow:spring-webflow:${ project."webflow.version"} " )
14+ implementation(" org.springframework.webflow:spring-binding:${ project."webflow.version"} " )
12615
16+ compileOnly " org.jasig.cas:cas-server-core:${ project."cas.version"} "
17+ compileOnly " javax.servlet:servlet-api:2.5"
18+ }
0 commit comments