Skip to content

Fix 'Cannot expand zip as it does not exist' when build utbot-cli #816

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 30, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions utbot-cli/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ configurations {
}

dependencies {
api project(':utbot-framework-api')
implementation project(':utbot-framework-api')
implementation project(':utbot-framework')
api project(':utbot-summary')
implementation project(':utbot-summary')

implementation group: 'org.mockito', name: 'mockito-core', version: mockito_version
// Without this dependency testng tests do not run.
Expand Down Expand Up @@ -49,10 +49,6 @@ classes {
}

jar {
dependsOn project(':utbot-framework').tasks.jar
dependsOn project(':utbot-summary').tasks.jar
dependsOn project(':utbot-fuzzers').tasks.jar

manifest {
attributes 'Main-Class': 'org.utbot.cli.ApplicationKt'
attributes 'Bundle-SymbolicName': 'org.utbot.cli'
Expand All @@ -63,6 +59,7 @@ jar {

archiveVersion.set(project.version as String)

dependsOn configurations.runtimeClasspath
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
Expand Down