Skip to content

Commit 67cc7d9

Browse files
committed
Put concrete executor jar in resources for contest estimator
1 parent 63e2252 commit 67cc7d9

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

utbot-junit-contest/build.gradle

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ apply from: "${rootProject.projectDir}/gradle/include/jvm-project.gradle"
22

33
apply plugin: 'jacoco'
44

5+
configurations {
6+
fetchInstrumentationJar
7+
}
8+
59
compileJava {
610
options.compilerArgs << '-XDignore.symbol.file'
711
}
@@ -50,8 +54,6 @@ dependencies {
5054
api project(":utbot-framework")
5155
api project(":utbot-analytics")
5256

53-
api project(":utbot-instrumentation")
54-
5557
implementation "com.github.UnitTestBot:soot:${soot_commit_hash}"
5658
implementation group: 'org.apache.commons', name: 'commons-exec', version: '1.2'
5759
implementation group: 'commons-io', name: 'commons-io', version: commons_io_version
@@ -64,6 +66,13 @@ dependencies {
6466
testImplementation group: 'org.mockito', name: 'mockito-core', version: '4.2.0'
6567
testImplementation group: 'org.mockito', name: 'mockito-inline', version: '4.2.0'
6668
testImplementation 'junit:junit:4.13.2'
69+
fetchInstrumentationJar project(path: ':utbot-instrumentation', configuration:'instrumentationArchive')
70+
}
71+
72+
processResources {
73+
from(configurations.fetchInstrumentationJar) {
74+
into "lib"
75+
}
6776
}
6877

6978
jar { dependsOn classes

utbot-junit-contest/src/main/kotlin/org/utbot/contest/ContestEstimator.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ import org.utbot.framework.JdkPathService
3838
import org.utbot.predictors.StateRewardPredictorFactoryImpl
3939
import org.utbot.framework.PathSelectorType
4040
import org.utbot.framework.UtSettings
41-
import org.utbot.predictors.NNStateRewardPredictorBase
4241

4342
private val logger = KotlinLogging.logger {}
4443

0 commit comments

Comments
 (0)