1+ import org.jmailen.gradle.kotlinter.tasks.FormatTask
2+ import org.jmailen.gradle.kotlinter.tasks.LintTask
13import java.io.File
24import java.io.StringWriter
35import java.util.Properties
@@ -10,7 +12,7 @@ plugins {
1012 id(" org.jmailen.kotlinter" )
1113 id(" io.gitlab.arturbosch.detekt" )
1214 id(" com.google.devtools.ksp" )
13- id(" com.ryandens.javaagent-test" ) version " 0.5.0 "
15+ id(" com.ryandens.javaagent-test" ) version " 0.5.1 "
1416}
1517dependencies {
1618 ksp(" com.squareup.moshi:moshi-kotlin-codegen:1.15.0" )
@@ -19,23 +21,23 @@ dependencies {
1921
2022 implementation(project(" :core" ))
2123
22- implementation(" io.ktor:ktor-server-netty:2.3.5 " )
23- implementation(" io.ktor:ktor-server-cors:2.3.5 " )
24- implementation(" io.ktor:ktor-server-content-negotiation:2.3.5 " )
24+ implementation(" io.ktor:ktor-server-netty:2.3.6 " )
25+ implementation(" io.ktor:ktor-server-cors:2.3.6 " )
26+ implementation(" io.ktor:ktor-server-content-negotiation:2.3.6 " )
2527 implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3" )
2628 implementation(" com.squareup.moshi:moshi-kotlin:1.15.0" )
2729 implementation(" com.github.cs124-illinois:ktor-moshi:2023.10.1" )
2830 implementation(" ch.qos.logback:logback-classic:1.4.11" )
2931 implementation(" com.uchuhimo:konf-core:1.1.2" )
3032 implementation(" com.uchuhimo:konf-yaml:1.1.2" )
3133 implementation(" io.github.microutils:kotlin-logging:3.0.5" )
32- implementation(" com.github.cs124-illinois:libcs1:2023.10 .0" )
34+ implementation(" com.github.cs124-illinois:libcs1:2023.11 .0" )
3335 implementation(" com.beyondgrader.resource-agent:agent:2023.9.0" )
3436 implementation(" com.beyondgrader.resource-agent:jeedplugin:2023.9.0" )
3537
36- testImplementation(" io.kotest:kotest-runner-junit5:5.7.2 " )
38+ testImplementation(" io.kotest:kotest-runner-junit5:5.8.0 " )
3739 testImplementation(" io.kotest:kotest-assertions-ktor:4.4.3" )
38- testImplementation(" io.ktor:ktor-server-test-host:2.3.5 " )
40+ testImplementation(" io.ktor:ktor-server-test-host:2.3.6 " )
3941}
4042
4143application {
@@ -118,16 +120,15 @@ tasks.shadowJar {
118120 attributes[" Can-Retransform-Classes" ] = " true"
119121 }
120122}
121- afterEvaluate {
122- tasks.named(" formatKotlinGeneratedByKspKotlin" ) {
123- enabled = false
124- }
125- tasks.named(" lintKotlinGeneratedByKspKotlin" ) {
126- enabled = false
127- }
128- }
129123java {
130124 toolchain {
131125 languageVersion.set(JavaLanguageVersion .of(17 ))
132126 }
133127}
128+ tasks.withType<FormatTask > {
129+ this .source = this .source.minus(fileTree(" build" )).asFileTree
130+ }
131+ tasks.withType<LintTask > {
132+ this .source = this .source.minus(fileTree(" build" )).asFileTree
133+ }
134+
0 commit comments