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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user