File tree 3 files changed +2
-3
lines changed
lambda-runtime/src/nativeTest/kotlin/io/github/trueangle/knative/lambda/runtime
3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ kotlin {
54
54
it.binaries {
55
55
executable {
56
56
entryPoint = " com.github.trueangle.knative.lambda.runtime.sample.main" // Link this to your main function entry point
57
+ freeCompilerArgs + = listOf (" -Xallocator=std" )
57
58
}
58
59
}
59
60
}
Original file line number Diff line number Diff line change @@ -8,5 +8,5 @@ plugins {
8
8
9
9
allprojects {
10
10
group = " io.github.trueangle"
11
- version = " 0.0.3 "
11
+ version = " 0.0.4 "
12
12
}
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ import io.github.trueangle.knative.lambda.runtime.log.JsonLogFormatter
8
8
import io.github.trueangle.knative.lambda.runtime.log.LogLevel
9
9
import io.ktor.util.reflect.typeInfo
10
10
import kotlinx.datetime.Clock
11
- import kotlinx.serialization.ExperimentalSerializationApi
12
11
import kotlinx.serialization.encodeToString
13
12
import kotlinx.serialization.json.Json
14
13
import kotlin.test.Test
@@ -19,7 +18,6 @@ class JsonLogFormatterTest {
19
18
private val requestId = " awsRequestId"
20
19
private val timestamp = Clock .System .now()
21
20
22
- @OptIn(ExperimentalSerializationApi ::class )
23
21
private val formatter = JsonLogFormatter (clock = clock, json = Json { explicitNulls = true }).apply {
24
22
onContextAvailable(mockContext(requestId))
25
23
}
You can’t perform that action at this time.
0 commit comments