Try to fix NativeImagePluginActionIntegrationTests on Windows

This commit is contained in:
Andy Wilkinson 2022-11-08 11:00:52 +00:00
parent 7cbd90d87d
commit 6940e348a7

View File

@ -122,7 +122,12 @@ class NativeImagePluginActionIntegrationTests {
}
private String projectPath(String path) {
return new File(this.gradleBuild.getProjectDir(), path).getAbsolutePath();
try {
return new File(this.gradleBuild.getProjectDir(), path).getCanonicalPath();
}
catch (IOException ex) {
throw new RuntimeException(ex);
}
}
private void writeDummySpringApplicationAotProcessorMainClass() {