Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Commit

Permalink
Update dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
gchallen committed Oct 3, 2022
1 parent 3cb46f1 commit 5452d12
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
}
subprojects {
group = "com.github.cs125-illinois.questioner"
version = "2022.9.11"
version = "2022.10.0"
tasks.withType<KotlinCompile> {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_17.toString()
Expand Down
4 changes: 2 additions & 2 deletions lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ dependencies {
implementation("com.squareup.moshi:moshi-kotlin:1.14.0")
implementation("org.apache.commons:commons-text:1.10.0")
implementation("io.github.java-diff-utils:java-diff-utils:4.12")
implementation("org.ow2.asm:asm:9.3")
implementation("org.ow2.asm:asm:9.4")

api("com.beyondgrader.resource-agent:agent:2022.9.3")
api("com.github.cs125-illinois.jeed:core:2022.9.9")
api("com.github.cs125-illinois:jenisol:2022.9.4")
api("com.github.cs125-illinois:jenisol:2022.10.0")
api("io.kotest:kotest-runner-junit5:5.4.2")
api("com.google.truth:truth:1.1.3")
api("com.github.cs125-illinois:libcs1:2022.9.1")
Expand Down
9 changes: 5 additions & 4 deletions lib/src/main/kotlin/Validation.kt
Original file line number Diff line number Diff line change
Expand Up @@ -349,16 +349,17 @@ suspend fun Question.validate(defaultSeed: Int, maxMutationCount: Int): Validati
result.results.tests()!!.indexOfFirst { !it.passed } + 1
)
}.filterNotNull()

if (deferredException != null) {
throw deferredException!!
}

val requiredTestCount = incorrectResults
.filter { !it.results.timeout && !it.results.succeeded }
.mapNotNull { it.results.tests()?.size }
.maxOrNull() ?: error("No incorrect results")
val testCount = requiredTestCount.coerceAtLeast(minTestCount)

if (deferredException != null) {
throw deferredException!!
}

// Rerun solutions to set timeouts and output limits
// sets solution runtime, output lines, executed lines, and allocation
val calibrationStart = Instant.now()
Expand Down
1 change: 0 additions & 1 deletion plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ plugins {
dependencies {
antlr("org.antlr:antlr4:4.11.1")

implementation("org.jetbrains.kotlin:kotlin-reflect:1.7.10")
implementation(gradleApi())
implementation(project(":lib"))
implementation("org.jetbrains:markdown:0.3.1") {
Expand Down
6 changes: 3 additions & 3 deletions server/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ dependencies {
implementation("org.jetbrains.kotlin:kotlin-reflect:1.7.10")
implementation(project(":lib"))

implementation("io.ktor:ktor-server-netty:2.1.1")
implementation("io.ktor:ktor-server-content-negotiation:2.1.1")
implementation("io.ktor:ktor-server-netty:2.1.2")
implementation("io.ktor:ktor-server-content-negotiation:2.1.2")
implementation("com.squareup.moshi:moshi-kotlin:1.14.0")
implementation("com.github.cs125-illinois:ktor-moshi:2022.9.0")
implementation("org.mongodb:mongodb-driver:3.12.11")

implementation("org.slf4j:slf4j-api:2.0.3")
implementation("ch.qos.logback:logback-classic:1.4.1")
implementation("ch.qos.logback:logback-classic:1.4.3")
implementation("io.github.microutils:kotlin-logging:3.0.0")
}
task("createProperties") {
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=2022.9.11
version=2022.10.0

0 comments on commit 5452d12

Please sign in to comment.