Skip to content

Commit

Permalink
chore: lint _all_ the things (#908)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianbotsf authored May 2, 2023
1 parent 62d50ff commit 760ce7c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions codegen/protocol-tests/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ data class ProtocolTest(val projectionName: String, val serviceShapeId: String,
val packageName: String = projectionName.toLowerCase().filter { it.isLetterOrDigit() }
}


// The following section exposes Smithy protocol test suites as gradle test targets
// for the configured protocols in [enabledProtocols].
val enabledProtocols = listOf(
Expand Down Expand Up @@ -49,7 +48,7 @@ codegen {
"services": ["${test.serviceShapeId}"]
}
}
"""
""",
)

smithyKotlinPlugin {
Expand All @@ -61,7 +60,7 @@ codegen {
generateFullProject = true
optInAnnotations = listOf(
"aws.smithy.kotlin.runtime.InternalApi",
"aws.sdk.kotlin.runtime.InternalSdkApi"
"aws.sdk.kotlin.runtime.InternalSdkApi",
)
}
}
Expand Down Expand Up @@ -89,7 +88,6 @@ open class ProtocolTestTask : DefaultTask() {
@get:Input
var projection: aws.sdk.kotlin.gradle.codegen.dsl.SmithyProjection? = null


@TaskAction
fun runTests() {
val projection = requireNotNull(projection) { "projection is required task input" }
Expand Down

0 comments on commit 760ce7c

Please sign in to comment.