-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathbuild.gradle
70 lines (62 loc) · 2.43 KB
/
build.gradle
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
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'eclipse'
apply plugin: 'application'
projectName = 'rewards'
version = '1.0'
applicationName = "$projectName"
mainClassName = "com.gfrison.GStarter"
run.systemProperties = ['environment':'development','app.name':"$projectName",'app.version':"$version"]
// since it's not yet possibile to set system properties
// into launch script (http://issues.gradle.org/browse/GRADLE-1456)
// you should set a variable (PROTO-APP-OPTS).
// By default 'environment' is set to development
// Ex: export APP_OPTS="-Denvironment=integration"
startScripts.optsEnvironmentVar='APP_OPTS'
repositories {
mavenCentral()
mavenRepo url: "http://repository.springsource.com/maven/bundles/release"
mavenRepo url: "https://repository.apache.org/content/repositories/snapshots/"
mavenRepo url: "http://repo1.maven.org/maven2"
mavenRepo url: "http://download.java.net/maven/2/"
}
String springVersion = '3.0.5.RELEASE'
String camelVersion = '2.9.0'
dependencies{
compile 'org.codehaus.groovy:groovy-all:1.8.4'
groovy 'org.codehaus.groovy:groovy-all:1.8.4'
compile "org.slf4j:slf4j-api:1.6.2"
compile "org.slf4j:slf4j-log4j12:1.6.2"
compile("log4j:log4j:1.2.16") {
exclude(module: 'jmxtools')
exclude(module: 'jmxri')
}
compile "log4j:apache-log4j-extras:1.0"
compile "junit:junit:4.8.2"
compile "org.springframework:spring-core:$springVersion"
compile "org.springframework:spring-context:$springVersion"
compile "org.springframework:spring-beans:$springVersion"
compile "org.springframework:spring-jms:$springVersion"
compile "org.springframework:spring-jdbc:$springVersion"
compile "org.apache.camel:camel-spring:$camelVersion"
compile "org.apache.camel:camel-groovy:$camelVersion"
compile "org.apache.camel:camel-core:$camelVersion"
compile "org.apache.camel:camel-cxf:$camelVersion"
compile "org.apache.camel:camel-http:$camelVersion"
compile "org.codehaus.jettison:jettison:1.3"
compile "org.apache.cxf:cxf-rt-transports-http-jetty:2.4.2"
compile "javax.ws.rs:jsr311-api:1.1.1"
compile "org.apache.commons:commons-lang3:3.0"
compile 'commons-dbcp:commons-dbcp:1.2.2'
compile 'org.hsqldb:hsqldb:2.0.0'
testCompile "org.apache.camel:camel-test:$camelVersion"
compile ('org.grails:grails-spring:1.3.7'){
exclude(module:'jcl-over-slf4j')
exclude(module:'jul-to-slf4j')
exclude(module:'concurrentlinkedhashmap-lruj')
}
//show logs during the test phase
test {
testLogging.showStandardStreams = true
}
}