From 29fe02be96ff60585db9b53a066f03305619fe88 Mon Sep 17 00:00:00 2001
From: "Kenneth J. Shackleton" <kshackleton1@bloomberg.net>
Date: Sun, 14 May 2023 07:42:50 +0100
Subject: [PATCH] Fix integration test build by declaring explicit dependency
 of process resources on selekt-java:copyJniLibs.

Signed-off-by: Kenneth J. Shackleton <kshackleton1@bloomberg.net>
---
 selekt-java/build.gradle.kts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/selekt-java/build.gradle.kts b/selekt-java/build.gradle.kts
index 374bf13576..5e83ef5fc7 100644
--- a/selekt-java/build.gradle.kts
+++ b/selekt-java/build.gradle.kts
@@ -97,7 +97,7 @@ tasks.register<Copy>("copyJniLibs") {
 }
 
 tasks.withType<ProcessResources>().configureEach {
-    mustRunAfter("buildHostSQLite")
+    dependsOn("buildHostSQLite", "copyJniLibs")
 }
 
 tasks.withType<DokkaTask>().configureEach {