Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Markoutte
Copy link
Collaborator

Description

Fixes an issue when utbot-cli cannot be built because it can't find other jars. To wait until all jars are built for cli dependsOn configurations.runtimeClasspath is used as it's described in gradle documentation about fat jar.

It can be changed shadowJar in the future, but we need to unify workflows that build utbot-cli.jar. Right now one runs with tests, other without.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Automated Testing

All relative workflows should be passed (publish-cli-build)

Manual Scenario

  1. Clean all project
  2. Change directory cd utbot-cli
  3. Run build for it without tests: gradle build -x test --no-daemon

Checklist:

  • The change followed the style guidelines of the UTBot project
  • Self-review of the code is passed
  • The change contains enough commentaries, particularly in hard-to-understand areas
  • New documentation is provided or existed one is altered
  • No new warnings
  • New tests have been added
  • All tests pass locally with my changes

@Markoutte Markoutte merged commit b808306 into main Aug 30, 2022
@Markoutte Markoutte deleted the pelevin/fix-utbot-cli-cannot-find-jar branch August 30, 2022 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants