From 30cad70332cfd63b65b98433b8dbf8660b392b6e Mon Sep 17 00:00:00 2001 From: Lea Lobanov Date: Fri, 14 Jun 2024 03:40:24 +0900 Subject: [PATCH] Update task dependency in build.gradle --- protobuf/build.gradle.kts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/protobuf/build.gradle.kts b/protobuf/build.gradle.kts index a010a56cf..a7675e65e 100644 --- a/protobuf/build.gradle.kts +++ b/protobuf/build.gradle.kts @@ -56,6 +56,11 @@ tasks.whenTaskAdded { dependsOn(this@whenTaskAdded) } } + if (name == "generateMetadataFileForMavenPublication") { + tasks.named("generateMetadataFileForMavenPublication") { + dependsOn(tasks.findByName("kotlinSourcesJar")) + } + } } tasks {