Remove MaxPermSize option from build as it was removed in Java 8

This commit fixes the warning:

```
Java HotSpot(TM) 64-Bit Server VM warning:
ignoring option MaxPermSize=256m; support was removed in 8.0
```
This commit is contained in:
Mahmoud Ben Hassine
2019-01-29 21:42:36 +01:00
parent 3ca4284715
commit 8ae64e8e0a

View File

@@ -303,12 +303,6 @@ project('spring-batch-core') {
project('spring-batch-infrastructure') {
description = 'Spring Batch Infrastructure'
test {
if (JavaVersion.current().isJava7Compatible()) {
jvmArgs '-XX:MaxPermSize=256m'
}
}
dependencies {
compile "org.springframework:spring-core:$springVersion"