aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2014-09-07 17:02:12 +0200
committerBananeweizen <bananeweizen@gmx.de>2014-09-07 17:02:12 +0200
commit8cd0f9d353cc4800deeb6c17375ed27090b71de6 (patch)
tree79749d7f83ff0d83fd834b0e21a8b92c50b81ffd
parent06d6621f6667b8547530995ed85d827f79ba8fc2 (diff)
downloadcgeo-8cd0f9d353cc4800deeb6c17375ed27090b71de6.zip
cgeo-8cd0f9d353cc4800deeb6c17375ed27090b71de6.tar.gz
cgeo-8cd0f9d353cc4800deeb6c17375ed27090b71de6.tar.bz2
fix #4312: OOM in Jenkins findbugs
-rw-r--r--main/build.gradle6
-rw-r--r--main/build.xml3
2 files changed, 5 insertions, 4 deletions
diff --git a/main/build.gradle b/main/build.gradle
index 048901f..62b0b48 100644
--- a/main/build.gradle
+++ b/main/build.gradle
@@ -159,7 +159,7 @@ dependencies {
compile 'org.apache.commons:commons-collections4:4.0'
compile 'org.apache.commons:commons-lang3:3.3.2'
compile 'commons-io:commons-io:2.4'
- compile 'com.google.code.findbugs:annotations:2.0.3'
+ compile 'com.google.code.findbugs:annotations:3.0.0'
compile "com.netflix.rxjava:rxjava-core:$RXVersion"
compile "com.netflix.rxjava:rxjava-android:$RXVersion"
@@ -208,7 +208,7 @@ apt {
//http://www.gradle.org/docs/current/dsl/org.gradle.api.plugins.quality.FindBugsExtension.html
findbugs {
- toolVersion = "2.0.1"
+ toolVersion = "3.0.0"
//sourceSets = [sourceSets.main]
ignoreFailures = true
reportsDir = file("$project.buildDir/reports")
@@ -259,7 +259,7 @@ dependencies {
unitTestCompile 'org.apache.commons:commons-collections4:4.0'
unitTestCompile 'commons-io:commons-io:2.4'
unitTestCompile 'org.apache.commons:commons-lang3:3.3.2'
- unitTestCompile 'com.google.code.findbugs:annotations:2.0.3'
+ unitTestCompile 'com.google.code.findbugs:annotations:3.0.0'
unitTestCompile 'com.netflix.rxjava:rxjava-core:$RXVersion'
unitTestCompile 'com.netflix.rxjava:rxjava-android:$RXVersion'
}
diff --git a/main/build.xml b/main/build.xml
index 070526b..5eb7768 100644
--- a/main/build.xml
+++ b/main/build.xml
@@ -93,7 +93,8 @@
outputFile="reports/findbugs.xml"
excludefilter="project/findbugs/exclusions.xml"
effort="max"
- reportLevel="low">
+ reportLevel="low"
+ jvmargs="-Xmx1024m">
<auxClasspath path="${project.target.android.jar}" />
<class location="${out.dir}" />
</findbugs>