-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
33 lines (32 loc) · 956 Bytes
/
build.gradle
File metadata and controls
33 lines (32 loc) · 956 Bytes
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
apply plugin: 'java'
apply plugin: 'findbugs'
apply plugin:'application'
mainClassName = "com.demandcube.githubflow.Cron"
repositories {
mavenCentral()
}
dependencies {
compile group: 'com.google.guava', name: 'guava', version: '17.0'
compile 'org.apache.poi:poi:3.7'
compile 'org.kohsuke:github-api:1.50'
compile 'log4j:log4j:1.2.17'
compile 'org.apache.poi:poi-ooxml:3.10-FINAL'
compile 'com.sparkjava:spark-core:1.0'
compile 'com.google.code.gson:gson:2.2.4'
compile 'org.apache.commons:commons-email:1.3.2'
}
findbugsMain {
ignoreFailures = true
reports {
html { enabled = true }
xml.enabled = !html.enabled
}
}
run {
/* Can pass all the properties: */
systemProperties = System.getProperties()
}
compileJava {
options.fork = true // Fork your compilation into a child process
options.forkOptions.setMemoryMaximumSize("512m") // Set maximum memory to 4g
}