This repository has been archived by the owner on Jan 19, 2022. It is now read-only.
/
BuildConfig.groovy
74 lines (61 loc) · 2.43 KB
/
BuildConfig.groovy
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
grails.project.class.dir = "target/classes"
grails.project.test.class.dir = "target/test-classes"
grails.project.test.reports.dir = "target/test-reports"
grails.project.dependency.resolution = {
inherits("global") {
excludes 'xml-apis', 'netty'
}
log "warn"
repositories {
inherits true
grailsPlugins()
grailsHome()
mavenLocal() // for picking up self-built snapshots before fetching from grailsCentral
grailsCentral()
mavenCentral()
//mavenRepo 'http://m2.neo4j.org/releases'
mavenRepo "http://repo.grails.org/grails/repo"
}
dependencies {
def excludes = {
excludes "slf4j-simple", "persistence-api", "commons-logging", "jcl-over-slf4j", "slf4j-api", "jta"
excludes "spring-core", "spring-beans", "spring-aop", "spring-asm","spring-webmvc","spring-tx", "spring-context", "spring-web", "log4j", "slf4j-log4j12"
excludes group:"org.grails", name:'grails-core'
excludes group:"org.grails", name:'grails-gorm'
excludes group:"org.grails", name:'grails-test'
excludes group:'xml-apis', name:'xml-apis'
excludes 'ehcache-core'
transitive = false
}
//def datastoreVersion = "1.1.4.BUILD-SNAPSHOT"
def datastoreVersion = "1.1.6.RELEASE"
//def neo4jDatastoreVersion = "1.0.0.BUILD-SNAPSHOT"
def neo4jDatastoreVersion = "1.0.0.RC1"
compile("org.grails:grails-datastore-gorm-neo4j:$neo4jDatastoreVersion",
"org.grails:grails-datastore-gorm-plugin-support:$datastoreVersion",
"org.grails:grails-datastore-gorm:$datastoreVersion",
"org.grails:grails-datastore-core:$datastoreVersion",
"org.grails:grails-datastore-web:$datastoreVersion", excludes)
test("org.grails:grails-datastore-gorm-test:$datastoreVersion",
"org.grails:grails-datastore-simple:$datastoreVersion", exlcudes)
compile('org.neo4j:neo4j-community:1.8.2')
}
plugins {
runtime ":jquery:1.7.1", {
export = false
}
runtime ":resources:1.1.6", {
export = false
}
runtime ":tomcat:$grailsVersion", {
export = false
}
build ":release:2.2.1", {
export = false
}
//runtime ":svn:1.0.2"
test ":spock:0.7", {
export = false
}
}
}