Skip to content

Commit b10fe29

Browse files
committed
Put concrete executor jar in resources for contest estimator
1 parent c02883c commit b10fe29

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

utbot-junit-contest/build.gradle

Lines changed: 11 additions & 0 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
}
@@ -64,6 +68,13 @@ dependencies {
6468
testImplementation group: 'org.mockito', name: 'mockito-core', version: '4.2.0'
6569
testImplementation group: 'org.mockito', name: 'mockito-inline', version: '4.2.0'
6670
testImplementation 'junit:junit:4.13.2'
71+
fetchInstrumentationJar project(path: ':utbot-instrumentation', configuration:'instrumentationArchive')
72+
}
73+
74+
processResources {
75+
from(configurations.fetchInstrumentationJar) {
76+
into "lib"
77+
}
6778
}
6879

6980
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)