This is an automated email from the ASF dual-hosted git repository.

snazy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git


The following commit(s) were added to refs/heads/main by this push:
     new 3250461b Build: Fix task dependency (#735)
3250461b is described below

commit 3250461bdc1baad5eb5c96e4b836d6bed339ef62
Author: Robert Stupp <[email protected]>
AuthorDate: Tue Jan 14 12:01:11 2025 +0100

    Build: Fix task dependency (#735)
    
    ```
        Reason: Task ':polaris-eclipselink:compileJava' uses this output of 
task ':polaris-eclipselink:compileQuarkusGeneratedSourcesJava' without 
declaring an explicit or implicit dependency. This can lead to incorrect 
results being produced, depending on what order the tasks are executed.
    ```
---
 extension/persistence/eclipselink/build.gradle.kts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/extension/persistence/eclipselink/build.gradle.kts 
b/extension/persistence/eclipselink/build.gradle.kts
index 1be5d259..689cb344 100644
--- a/extension/persistence/eclipselink/build.gradle.kts
+++ b/extension/persistence/eclipselink/build.gradle.kts
@@ -87,3 +87,7 @@ tasks.named("processTestResources") { 
dependsOn("createTestConfJar") }
 tasks.named("javadoc") { dependsOn("jandex") }
 
 tasks.named("quarkusDependenciesBuild") { dependsOn("jandex") }
+
+tasks.named("compileJava") { dependsOn("compileQuarkusGeneratedSourcesJava") }
+
+tasks.named("sourcesJar") { dependsOn("compileQuarkusGeneratedSourcesJava") }

Reply via email to