diff --git a/.github/workflows/publish-plugin-and-cli-from-branch.yml b/.github/workflows/publish-plugin-and-cli-from-branch.yml index 7925bbd45e..0a49f103c8 100644 --- a/.github/workflows/publish-plugin-and-cli-from-branch.yml +++ b/.github/workflows/publish-plugin-and-cli-from-branch.yml @@ -50,10 +50,11 @@ jobs: - name: Build UTBot IntelliJ IDEA plugin run: | - gradle buildPlugin --no-daemon -PsemVer=${{ env.VERSION }} + gradle clean buildPlugin --no-daemon -PsemVer=${{ env.VERSION }} cd utbot-intellij/build/distributions unzip utbot-intellij-${{ env.VERSION }}.zip rm utbot-intellij-${{ env.VERSION }}.zip + - name: Archive UTBot IntelliJ IDEA plugin uses: actions/upload-artifact@v3 with: @@ -63,7 +64,7 @@ jobs: - name: Build UTBot CLI run: | cd utbot-cli - gradle build --no-daemon -PsemVer=${{ env.VERSION }} + gradle clean build --no-daemon -PsemVer=${{ env.VERSION }} - name: Archive UTBot CLI uses: actions/upload-artifact@v3 diff --git a/utbot-cli/build.gradle b/utbot-cli/build.gradle index c467722549..9420217bf0 100644 --- a/utbot-cli/build.gradle +++ b/utbot-cli/build.gradle @@ -49,9 +49,6 @@ classes { } jar { - dependsOn project(':utbot-framework').tasks.jar - dependsOn project(':utbot-summary').tasks.jar - manifest { attributes 'Main-Class': 'org.utbot.cli.ApplicationKt' attributes 'Bundle-SymbolicName': 'org.utbot.cli'