Skip to content

Commit eec5bd0

Browse files
authored
Locate build folder during test compilation (#106)
1 parent fae1465 commit eec5bd0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

prism-core/src/main/java/io/avaje/prism/internal/APContextWriter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,7 @@ public static void write(PrintWriter out, String packageName, boolean moduleRead
459459
+ " .replaceFirst(id, \"\")\n"
460460
+ " .replaceFirst(\"/classes/java/main\", \"\")\n"
461461
+ " .replaceFirst(\"/classes/java/test\", \"\")\n"
462+
+ " .replaceFirst(\"/test-classes\", \"\")\n"
462463
+ " .replaceFirst(\"/classes\", \"\");\n"
463464
+ " var updatedPath = Path.of(URI.create(uri));\n"
464465
+ " if (path.contains(\"/\")) {\n"

0 commit comments

Comments
 (0)