From fdb5bd0c485eecbfc857708f8f9c65efd02052ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuli=20M=C3=A4=C3=A4tt=C3=A4?= Date: Thu, 7 Sep 2023 12:46:10 +0300 Subject: [PATCH] Add 'cleanBuild' Gradle task to make sure that project is cleaned between Jitpack builds --- .../Android/android-communications/library/build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sources/Android/android-communications/library/build.gradle b/sources/Android/android-communications/library/build.gradle index a822d914..c3d7022c 100755 --- a/sources/Android/android-communications/library/build.gradle +++ b/sources/Android/android-communications/library/build.gradle @@ -120,6 +120,13 @@ protobuf { } } +task cleanBuild(type: Delete) { + delete 'build/' + delete '.gradle/' +} + +assemble.dependsOn cleanBuild + dependencies { implementation 'io.reactivex.rxjava3:rxandroid:3.0.2' implementation 'io.reactivex.rxjava3:rxjava:3.1.6'