Skip to content

Commit

Permalink
transform the java path var as string
Browse files Browse the repository at this point in the history
  • Loading branch information
lfoppiano committed Sep 9, 2024
1 parent a9425d2 commit fc769b6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ subprojects {
jvmArgs "--add-opens", "java.base/java.util.stream=ALL-UNNAMED",
"--add-opens", "java.base/java.io=ALL-UNNAMED", "--add-opens", "java.xml/jdk.xml.internal=ALL-UNNAMED"
}
systemProperty "java.library.path", javaLibraryPath
systemProperty "java.library.path", "${javaLibraryPath}"
}
}

Expand Down Expand Up @@ -363,7 +363,7 @@ project(":grobid-service") {
}
workingDir = rootProject.rootDir

systemProperty "java.library.path", javaLibraryPath
systemProperty "java.library.path", "${javaLibraryPath}"
}

tasks.distZip.enabled = true
Expand Down Expand Up @@ -560,7 +560,7 @@ project(":grobid-trainer") {
} else {
jvmArgs '-Xmx3072m'
}
systemProperty "java.library.path", javaLibraryPath
systemProperty "java.library.path", "${javaLibraryPath}"
}

task(teiEval, dependsOn: 'classes', type: JavaExec, group: 'modelevaluation') {
Expand All @@ -573,7 +573,7 @@ project(":grobid-trainer") {
} else {
jvmArgs '-Xmx3072m'
}
systemProperty "java.library.path", javaLibraryPath
systemProperty "java.library.path", "${javaLibraryPath}"
}

task(PrepareDOIMatching, dependsOn: 'classes', type: JavaExec, group: 'modelevaluation') {
Expand All @@ -586,7 +586,7 @@ project(":grobid-trainer") {
} else {
jvmArgs '-Xmx3072m'
}
systemProperty "java.library.path", javaLibraryPath
systemProperty "java.library.path", "${javaLibraryPath}"
}

task(EvaluateDOIMatching, dependsOn: 'classes', type: JavaExec, group: 'modelevaluation') {
Expand All @@ -599,7 +599,7 @@ project(":grobid-trainer") {
} else {
jvmArgs '-Xmx3072m'
}
systemProperty "java.library.path", javaLibraryPath
systemProperty "java.library.path", "${javaLibraryPath}"
}
}

Expand Down

0 comments on commit fc769b6

Please sign in to comment.