-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
69 lines (58 loc) · 1.57 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
69
apply plugin: 'scala'
version = projectVersion // See gradle.properties
tasks.withType(ScalaCompile) {
scalaCompileOptions.fork = true
scalaCompileOptions.useAnt = false
scalaCompileOptions.deprecation = true
scalaCompileOptions.unchecked = true
configure(scalaCompileOptions.forkOptions) {
memoryMaximumSize = '1g'
jvmArgs = ['-XX:MaxPermSize=512m']
}
}
dependencies {
compile "org.scala-lang:scala-library:$scalaVersion"
}
buildscript { // For Scalastyle plugin
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath "org.github.mansur.scalastyle:gradle-scalastyle-plugin_2.10:0.2"
classpath "org.scalastyle:scalastyle_2.10:0.3.2"
classpath "commons-lang:commons-lang:2.6"
}
}
allprojects {
apply plugin: 'idea' // Needed in here to handle multi-module IDEA projects
apply plugin: 'scala'
apply plugin: 'scalaStyle'
repositories {
mavenLocal()
mavenCentral()
maven {
url "http://mirrors.ibiblio.org/pub/mirrors/maven2"
}
}
scalaStyle {
configLocation = "scalastyle-config.xml"
includeTestSourceDirectory = true
}
}
subprojects {
scalaStyle {
source = "src/main/scala"
testSource = "src/test/scala"
outputFile = "$buildDir/scala_style_result.xml"
}
test {
jvmArgs '-XX:MaxPermSize=256m'
systemProperties = System.getProperties()
}
}
project(':selenium-tests') {
dependencies {
compile project(':lift-webapp')
}
}