Skip to content

Commit bd7a21f

Browse files
committed
allow the plugin to build again
1 parent eaab012 commit bd7a21f

File tree

12 files changed

+313
-509
lines changed

12 files changed

+313
-509
lines changed

.java-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1.8

build.gradle

Lines changed: 8 additions & 116 deletions
Original file line numberDiff line numberDiff line change
@@ -1,126 +1,18 @@
11
apply 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

263
repositories {
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

408
dependencies {
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+
}

gradle.properties

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,9 @@
11
group=org.apereo.cas
2-
version=1.0-M8-SNAPSHOT
2+
version=1.0-M8
33

44
groovy.version=2.3.6
55
cas.version=3.5.2
66
spring-security-saml.version=1.0.0.RELEASE
77
spring-security.version=3.1.4.RELEASE
8-
opensaml.version=2.6.2
9-
10-
spock.version=0.7-groovy-2.0
11-
12-
# properties for deploying; DON'T SET HERE, SET IN YOUR PERSONAL FILE! (~/.gradle/gradle.properties)
13-
bintrayUsername=
14-
bintrayAPIKey=
15-
16-
githubUsername=
17-
githubPassword=
18-
19-
signing.keyId=
20-
signing.password=
21-
signing.secretKeyRingFile=
22-
# end properties for deploying
8+
opensaml.version=2.6.4
9+
webflow.version=2.3.0.RELEASE

gradle/wrapper/gradle-wrapper.jar

9.96 KB
Binary file not shown.
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
#Fri Aug 01 10:57:42 CDT 2014
21
distributionBase=GRADLE_USER_HOME
32
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-rc-5-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=http\://services.gradle.org/distributions/gradle-2.0-all.zip

0 commit comments

Comments
 (0)