Skip to content

Commit 146ffb1

Browse files
committed
updated version information
moved version information into external file updated gradle to 1.8
1 parent 677457d commit 146ffb1

File tree

4 files changed

+27
-26
lines changed

4 files changed

+27
-26
lines changed

build.gradle

Lines changed: 13 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ allprojects {
1313
apply plugin: "java"
1414
apply plugin: "maven"
1515

16-
group = "org.jasig.openregistry"
17-
version = "0.1-SNAPSHOT"
18-
1916
sourceCompatibility = '1.7'
2017
targetCompatibility = '1.7'
2118

@@ -27,16 +24,6 @@ allprojects {
2724
}
2825
}
2926

30-
ext {
31-
springVersion = "3.2.4.RELEASE"
32-
springBatchVersion = "2.2.1.RELEASE"
33-
openregistryVersion = "0.9.2.1"
34-
slf4jVersion = "1.6.1"
35-
postgresJdbcVersion = "9.1-901.jdbc4"
36-
oracleJdbcVersion = "12.1.0.1"
37-
groovyVersion = "2.1.5"
38-
}
39-
4027
sourceSets.main.java.srcDirs = []
4128
sourceSets.main.groovy.srcDirs = ['src/main/java', 'src/main/groovy']
4229

@@ -50,7 +37,7 @@ project.ext {
5037
}
5138

5239
task wrapper(type: Wrapper) {
53-
gradleVersion = '1.7'
40+
gradleVersion = project."gradle.version"
5441
}
5542

5643
buildscript {
@@ -66,37 +53,39 @@ buildscript {
6653
dependencies {
6754
//openregistry
6855
['openregistry-api', 'openregistry-service-impl', 'openregistry-sor-repository-xml', 'openregistry-repository-jpa-impl'].each {
69-
compile("org.jasig.openregistry:${it}:${project.openregistryVersion}") {
56+
compile("org.jasig.openregistry:${it}:${project."open.registry.version"}") {
7057
exclude module: "spring-tx"
7158
}
7259
}
7360

7461
// spring batch
75-
compile("org.springframework.batch:spring-batch-core:${project.springBatchVersion}") {
62+
compile("org.springframework.batch:spring-batch-core:${project."spring.batch.version"}") {
7663
exclude module: "spring-tx"
7764
}
7865

7966
// spring
8067
['beans', 'context', 'tx'].each {
81-
compile "org.springframework:spring-${it}:${project.springVersion}"
68+
compile "org.springframework:spring-${it}:${project."spring.version"}"
8269
}
8370

8471
// BoneCP jdbc connection pool
85-
compile "com.jolbox:bonecp:0.7.1.RELEASE"
72+
compile "com.jolbox:bonecp:${project."bonecp.version"}"
8673

87-
compile "log4j:log4j:1.2.17"
74+
compile "log4j:log4j:${project."log4j.version"}"
8875

8976
// slf4j stuff
90-
compile "org.slf4j:slf4j-api:${project.slf4jVersion}"
91-
compile "org.slf4j:jcl-over-slf4j:${project.slf4jVersion}"
92-
compile "org.slf4j:slf4j-log4j12:${project.slf4jVersion}"
77+
compile "org.slf4j:slf4j-api:${project."slf4j.version"}"
78+
compile "org.slf4j:jcl-over-slf4j:${project."slf4j.version"}"
79+
compile "org.slf4j:slf4j-log4j12:${project."slf4j.version"}"
9380

9481
//JDBC
82+
/*
9583
runtime "postgresql:postgresql:${project.postgresJdbcVersion}"
9684
runtime "oracle:ojdbc7:${project.oracleJdbcVersion}"
85+
*/
9786

98-
compile "org.codehaus.groovy:groovy-all:${project.groovyVersion}"
99-
compile("org.grails:grails-spring:2.2.4") {
87+
compile "org.codehaus.groovy:groovy-all:${project."groovy.version"}"
88+
compile("org.grails:grails-spring:${project."grails.version"}") {
10089
exclude module: "grails-bootstrap"
10190
exclude module: "gant_groovy1.8"
10291
exclude module: "javax.servlet-api"

gradle.properties

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
group=org.jasig.openregistry
2+
version=0.1-SNAPSHOT
3+
4+
spring.version=3.2.4.RELEASE
5+
spring.batch.version=2.2.1.RELEASE
6+
open.registry.version=0.9.2.1
7+
slf4j.version=1.6.1
8+
groovy.version=2.1.5
9+
gradle.version=1.8
10+
bonecp.version=0.7.1.RELEASE
11+
log4j.version=1.2.17
12+
grails.version=2.2.4

gradle/wrapper/gradle-wrapper.jar

643 Bytes
Binary file not shown.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Mon Aug 05 13:45:17 CDT 2013
1+
#Tue Oct 15 09:21:14 CDT 2013
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=http\://services.gradle.org/distributions/gradle-1.7-bin.zip
6+
distributionUrl=http\://services.gradle.org/distributions/gradle-1.8-bin.zip

0 commit comments

Comments
 (0)