This repository was archived by the owner on Apr 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 124
/
Copy pathbuild.gradle
68 lines (56 loc) · 1.84 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: 'scala'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'propdeps'
apply plugin: 'propdeps-maven'
apply plugin: 'propdeps-idea'
apply plugin: 'propdeps-eclipse'
apply from: 'cobertura.gradle'
group 'org.springframework.scala'
ext {
springVersion = '3.2.2.RELEASE'
scalaVersion = '2.10.1'
}
repositories {
maven { url "http://repo.springsource.org/libs-snapshot" }
mavenCentral()
}
dependencies {
// Spring
optional("org.springframework:spring-aop:$springVersion")
compile("org.springframework:spring-core:$springVersion")
compile("org.springframework:spring-beans:$springVersion")
compile("org.springframework:spring-context:$springVersion")
optional("org.springframework:spring-jdbc:$springVersion")
optional("org.springframework:spring-jms:$springVersion")
optional("org.springframework:spring-web:$springVersion")
// Scala
scalaTools("org.scala-lang:scala-compiler:$scalaVersion")
compile("org.scala-lang:scala-library:$scalaVersion")
compile("org.scala-lang:scala-reflect:$scalaVersion")
// Java EE
provided("org.apache.geronimo.specs:geronimo-jms_1.1_spec:1.1")
provided("javax.servlet:servlet-api:2.5")
// Test
testCompile("org.scalatest:scalatest_2.10:1.9.1")
testCompile("junit:junit:4.10")
testRuntime("org.hsqldb:hsqldb-j5:2.2.4")
testRuntime("log4j:log4j:1.2.16")
}
tasks.withType(ScalaCompile) {
scalaCompileOptions.additionalParameters = ["-feature", "-language:implicitConversions", "-language:reflectiveCalls"]
scalaCompileOptions.useAnt = false
}
task wrapper(type: Wrapper) {
description = 'Generates gradlew[.bat] scripts'
gradleVersion = '1.5'
}
buildscript {
repositories {
maven { url 'http://repo.springsource.org/plugins-release' }
}
dependencies {
classpath 'org.springframework.build.gradle:propdeps-plugin:0.0.3'
}
}