@@ -13,9 +13,6 @@ allprojects {
13
13
apply plugin : " java"
14
14
apply plugin : " maven"
15
15
16
- group = " org.jasig.openregistry"
17
- version = " 0.1-SNAPSHOT"
18
-
19
16
sourceCompatibility = ' 1.7'
20
17
targetCompatibility = ' 1.7'
21
18
@@ -27,16 +24,6 @@ allprojects {
27
24
}
28
25
}
29
26
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
-
40
27
sourceSets. main. java. srcDirs = []
41
28
sourceSets. main. groovy. srcDirs = [' src/main/java' , ' src/main/groovy' ]
42
29
@@ -50,7 +37,7 @@ project.ext {
50
37
}
51
38
52
39
task wrapper (type : Wrapper ) {
53
- gradleVersion = ' 1.7 '
40
+ gradleVersion = project . " gradle.version "
54
41
}
55
42
56
43
buildscript {
@@ -66,37 +53,39 @@ buildscript {
66
53
dependencies {
67
54
// openregistry
68
55
[' 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" } " ) {
70
57
exclude module : " spring-tx"
71
58
}
72
59
}
73
60
74
61
// spring batch
75
- compile(" org.springframework.batch:spring-batch-core:${ project.springBatchVersion } " ) {
62
+ compile(" org.springframework.batch:spring-batch-core:${ project."spring.batch.version" } " ) {
76
63
exclude module : " spring-tx"
77
64
}
78
65
79
66
// spring
80
67
[' beans' , ' context' , ' tx' ]. each {
81
- compile " org.springframework:spring-${ it} :${ project.springVersion } "
68
+ compile " org.springframework:spring-${ it} :${ project."spring.version" } "
82
69
}
83
70
84
71
// BoneCP jdbc connection pool
85
- compile " com.jolbox:bonecp:0.7.1.RELEASE "
72
+ compile " com.jolbox:bonecp:${ project."bonecp.version" } "
86
73
87
- compile " log4j:log4j:1.2.17 "
74
+ compile " log4j:log4j:${ project."log4j.version" } "
88
75
89
76
// 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" } "
93
80
94
81
// JDBC
82
+ /*
95
83
runtime "postgresql:postgresql:${project.postgresJdbcVersion}"
96
84
runtime "oracle:ojdbc7:${project.oracleJdbcVersion}"
85
+ */
97
86
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" } " ) {
100
89
exclude module : " grails-bootstrap"
101
90
exclude module : " gant_groovy1.8"
102
91
exclude module : " javax.servlet-api"
0 commit comments