From ca3486a42acc0d8321144325ff745690c33f9dc4 Mon Sep 17 00:00:00 2001 From: slinkydeveloper Date: Mon, 10 Jun 2024 12:36:08 +0200 Subject: [PATCH] Fix gradle --- sdk-common/build.gradle.kts | 2 +- sdk-core/build.gradle.kts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sdk-common/build.gradle.kts b/sdk-common/build.gradle.kts index 372865fa..e2564e5c 100644 --- a/sdk-common/build.gradle.kts +++ b/sdk-common/build.gradle.kts @@ -83,6 +83,6 @@ val generateVersionClass = tasks { withType().configureEach { dependsOn(generateVersionClass) } - withType().configureEach { dependsOn(generateVersionClass) } + withType().configureEach { dependsOn(generateVersionClass) } withType().configureEach { dependsOn(generateVersionClass) } } diff --git a/sdk-core/build.gradle.kts b/sdk-core/build.gradle.kts index 0a6da633..03692143 100644 --- a/sdk-core/build.gradle.kts +++ b/sdk-core/build.gradle.kts @@ -73,7 +73,9 @@ protobuf { protoc { artifact = "com.google.protobuf:protoc:$protobufVersion" } } tasks { withType { dependsOn(generateJsonSchema2Pojo, generateProto) } - withType { dependsOn(generateJsonSchema2Pojo, generateProto) } + withType().configureEach { + dependsOn(generateJsonSchema2Pojo, generateProto) + } withType().configureEach { dependsOn(generateJsonSchema2Pojo, generateProto) } }