Skip to content

Commit b808306

Browse files
authored
Fix 'Cannot expand zip as it does not exist' when build utbot-cli (#816)
1 parent ba59526 commit b808306

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

utbot-cli/build.gradle

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ configurations {
66
}
77

88
dependencies {
9-
api project(':utbot-framework-api')
9+
implementation project(':utbot-framework-api')
1010
implementation project(':utbot-framework')
11-
api project(':utbot-summary')
11+
implementation project(':utbot-summary')
1212

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

5151
jar {
52-
dependsOn project(':utbot-framework').tasks.jar
53-
dependsOn project(':utbot-summary').tasks.jar
54-
dependsOn project(':utbot-fuzzers').tasks.jar
55-
5652
manifest {
5753
attributes 'Main-Class': 'org.utbot.cli.ApplicationKt'
5854
attributes 'Bundle-SymbolicName': 'org.utbot.cli'
@@ -63,6 +59,7 @@ jar {
6359

6460
archiveVersion.set(project.version as String)
6561

62+
dependsOn configurations.runtimeClasspath
6663
from {
6764
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
6865
}

0 commit comments

Comments
 (0)