diff --git a/amazon/eventbridge/client/src/main/kotlin/org/http4k/connect/amazon/eventbridge/action/CreateEventBus.kt b/amazon/eventbridge/client/src/main/kotlin/org/http4k/connect/amazon/eventbridge/action/CreateEventBus.kt index b0c42700f..fef31af09 100644 --- a/amazon/eventbridge/client/src/main/kotlin/org/http4k/connect/amazon/eventbridge/action/CreateEventBus.kt +++ b/amazon/eventbridge/client/src/main/kotlin/org/http4k/connect/amazon/eventbridge/action/CreateEventBus.kt @@ -10,7 +10,7 @@ import se.ansman.kotshi.JsonSerializable @Http4kConnectAction @JsonSerializable -data class CreateEventBus internal constructor( +data class CreateEventBus( val Name: EventBusName, val EventSourceName: EventSourceName? = null, val Tags: List? = null diff --git a/build.gradle.kts b/build.gradle.kts index 2829b73ad..676ce46a9 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -353,6 +353,7 @@ tasks.named("compileTestKotlin") { compilerOptions { jvmTarget.set(JVM_1_8) freeCompilerArgs.add("-Xjvm-default=all") + freeCompilerArgs.add("-Xconsistent-data-class-copy-visibility") } }