Skip to content

Concrete executor jar provided as a resource for contest estimator #412

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
Jul 5, 2022
Merged
Show file tree
Hide file tree
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
13 changes: 11 additions & 2 deletions utbot-junit-contest/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ apply from: "${rootProject.projectDir}/gradle/include/jvm-project.gradle"

apply plugin: 'jacoco'

configurations {
fetchInstrumentationJar
}

compileJava {
options.compilerArgs << '-XDignore.symbol.file'
}
Expand Down Expand Up @@ -50,8 +54,6 @@ dependencies {
api project(":utbot-framework")
api project(":utbot-analytics")

api project(":utbot-instrumentation")

implementation "com.github.UnitTestBot:soot:${soot_commit_hash}"
implementation group: 'org.apache.commons', name: 'commons-exec', version: '1.2'
implementation group: 'commons-io', name: 'commons-io', version: commons_io_version
Expand All @@ -64,6 +66,13 @@ dependencies {
testImplementation group: 'org.mockito', name: 'mockito-core', version: '4.2.0'
testImplementation group: 'org.mockito', name: 'mockito-inline', version: '4.2.0'
testImplementation 'junit:junit:4.13.2'
fetchInstrumentationJar project(path: ':utbot-instrumentation', configuration:'instrumentationArchive')
}

processResources {
from(configurations.fetchInstrumentationJar) {
into "lib"
}
}

jar { dependsOn classes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ import org.utbot.framework.JdkPathService
import org.utbot.predictors.StateRewardPredictorFactoryImpl
import org.utbot.framework.PathSelectorType
import org.utbot.framework.UtSettings
import org.utbot.predictors.NNStateRewardPredictorBase

private val logger = KotlinLogging.logger {}

Expand Down