From 9617184f4d9363038e0d2bafa58d7938d78d796f Mon Sep 17 00:00:00 2001 From: fscarponi Date: Thu, 12 Sep 2024 21:05:44 +0200 Subject: [PATCH] Hotfix: Ensure KotlinCompileCommon depends on generateApiClientObject Added a dependency on generateApiClientObject for KotlinCompileCommon in build.gradle.kts. This change ensures that source tasks are properly ordered, preventing potential build issues. --- build.gradle.kts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 03bdcb6..0665ab7 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,4 +1,5 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile +import org.jetbrains.kotlin.gradle.tasks.KotlinCompileCommon import org.jmailen.gradle.kotlinter.tasks.FormatTask import org.jmailen.gradle.kotlinter.tasks.LintTask @@ -56,6 +57,9 @@ tasks { jvmSourcesJar{ dependsOn(generateApiClientObject) } + withType { + dependsOn(generateApiClientObject) + } withType{ dependsOn(generateApiClientObject) }