From 0b69c91d7f7858ea13871ad12fe1563f11c883d8 Mon Sep 17 00:00:00 2001 From: Krishanx92 Date: Sun, 3 Mar 2024 22:25:34 +0530 Subject: [PATCH 1/2] Fix circuler dependency issue --- adapter/build.gradle | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/adapter/build.gradle b/adapter/build.gradle index 1e19779ad..d8e1a36db 100644 --- a/adapter/build.gradle +++ b/adapter/build.gradle @@ -79,13 +79,12 @@ task build{ dependsOn docker_build } -task clean(type: Delete) { +task customClean(type: Delete) { delete rootProject.buildDir } tasks.named('clean').configure { - dependsOn clean + dependsOn customClean } - afterReleaseBuild.dependsOn "docker_push" From 405b8c6964583bcae543bbbacf81e655f9782432 Mon Sep 17 00:00:00 2001 From: Krishanx92 Date: Sun, 3 Mar 2024 22:37:42 +0530 Subject: [PATCH 2/2] Fix issue --- adapter/build.gradle | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/adapter/build.gradle b/adapter/build.gradle index d8e1a36db..0752b7a0b 100644 --- a/adapter/build.gradle +++ b/adapter/build.gradle @@ -17,6 +17,7 @@ plugins { id 'net.researchgate.release' version '2.8.0' + id 'com.jfrog.GradleDepTree' version '3.0.3' } apply from: "$rootDir/../common-gradle-scripts/docker.gradle" @@ -79,12 +80,12 @@ task build{ dependsOn docker_build } -task customClean(type: Delete) { +task buildClean(type: Delete) { delete rootProject.buildDir } tasks.named('clean').configure { - dependsOn customClean + dependsOn buildClean } afterReleaseBuild.dependsOn "docker_push"