Giuseppe Barbieri
05/07/2024, 10:28 PMrun {
environment("TF_CPP_MIN_LOG_LEVEL", "1") // turn off TensorFlow print out
systemProperties System.getProperties()
systemProperties.remove("user.dir")
systemProperty("file.encoding", "UTF-8")
}
?Chris Lee
05/07/2024, 10:30 PMrun
is; perhaps that is a run task, which can be accessed via tasks.named<Type>("run")
(Type
is a placeholder for whatever type the run task is). The rest of it is almost there, other than brackets around System.getProperties()
Giuseppe Barbieri
05/07/2024, 10:42 PMNiels Doucet
05/08/2024, 7:35 AMsystemProperties System.getProperties()
. It's really dangerous to just copy over all system properties to a task invocation. You should really be specific about the properties you'd like to expose inside the task, or you might get very strange issues.