Skip to content

Commit f1ff2a9

Browse files
kermitt2lfoppiano
authored andcommitted
fix jvm compatibility
1 parent 2b79cbd commit f1ff2a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ subprojects {
216216
"--add-opens", "java.base/java.lang=ALL-UNNAMED",
217217
"--add-opens", "java.base/java.util=ALL-UNNAMED"
218218
}
219-
219+
220220
systemProperty "java.library.path", "${javaLibraryPath}"
221221
}
222222
}
@@ -596,7 +596,7 @@ project(":grobid-trainer") {
596596
classpath = sourceSets.main.runtimeClasspath
597597
args 'tei', getArg('p2t', '.'), getArg('run', '0'), getArg('fileRatio', '1.0'), getArg('flavor', '')
598598
def javaLibraryPath = getJavaLibraryPath()
599-
599+
600600
if (JavaVersion.current().compareTo(JavaVersion.VERSION_1_8) > 0) {
601601
jvmArgs '-Xmx3072m', "--add-opens", "java.base/java.lang=ALL-UNNAMED"
602602
} else {

0 commit comments

Comments
 (0)