Skip to content

Commit 8090f12

Browse files
authored
fix gradle resource detection for tests (#89)
1 parent f09a528 commit 8090f12

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
@@ -448,6 +448,7 @@ public static void write(PrintWriter out, String packageName, boolean moduleRead
448448
+ " .toString()\n"
449449
+ " .replaceFirst(id, \"\")\n"
450450
+ " .replaceFirst(\"/classes/java/main\", \"\")\n"
451+
+ " .replaceFirst(\"/classes/java/test\", \"\")\n"
451452
+ " .replaceFirst(\"/classes\", \"\");\n"
452453
+ " var updatedPath = Path.of(URI.create(uri));\n"
453454
+ " if (path.contains(\"/\")) {\n"

0 commit comments

Comments
 (0)