Skip to content

Commit

Permalink
Fix Gradle Test Resource Detection (#725)
Browse files Browse the repository at this point in the history
* change gradle plugin to run before compileJava

* Update pom.xml
  • Loading branch information
SentryMan authored Nov 4, 2024
1 parent 74aec7b commit cd67092
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inject-generator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<name>avaje inject generator</name>
<description>annotation processor generating source code for avaje-inject dependency injection</description>
<properties>
<avaje.prisms.version>1.33</avaje.prisms.version>
<avaje.prisms.version>1.34</avaje.prisms.version>
<!-- VALHALLA-START ___
<maven.compiler.enablePreview>false</maven.compiler.enablePreview>
____ VALHALLA-END -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public void apply(Project project) {
project.afterEvaluate(
prj -> {
// run it automatically before build
Task buildTask = prj.getTasks().getByName("build");
Task buildTask = prj.getTasks().getByName("compileJava");
buildTask.doFirst(it -> writeProvides(project));
});
// register a task to run it manually
Expand Down

0 comments on commit cd67092

Please sign in to comment.