-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dokka and coroutine version bump #514
Changes from 8 commits
9b4888a
58af350
139bbc3
7782147
f015f11
17eda19
9642911
fc7d734
39d9fe0
68b269d
4287180
6f35e85
f49680d
6d107e5
97f13e9
981e85e
875696a
f58e627
9ce45d6
b13cfaf
dd1d144
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ val sdkVersion: String by project | |
|
||
val optinAnnotations = listOf( | ||
"aws.smithy.kotlin.runtime.util.InternalApi", | ||
"aws.sdk.kotlin.runtime.InternalSdkApi" | ||
"aws.sdk.kotlin.runtime.InternalSdkApi", | ||
) | ||
|
||
subprojects { | ||
|
@@ -67,6 +67,9 @@ subprojects { | |
kotlinOptions { | ||
jvmTarget = "1.8" // this is the default but it's better to be explicit (e.g. it may change in Kotlin 1.5) | ||
allWarningsAsErrors = false // FIXME Tons of errors occur in generated code | ||
// Enable coroutine runTests in 1.6.10 | ||
// NOTE: may be removed after coroutines-test runTests becomes stable | ||
freeCompilerArgs = freeCompilerArgs + "-opt-in=kotlin.RequiresOptIn" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nit: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I had it that way originally but the IDE warned me of the creation of a list under the hood and recommended this form instead. |
||
} | ||
} | ||
|
||
|
@@ -109,6 +112,11 @@ subprojects { | |
implementation(project(":aws-runtime:testing")) | ||
} | ||
} | ||
kotlinOptions { | ||
// Enable coroutine runTests in 1.6.10 | ||
// NOTE: may be removed after coroutines-test runTests becomes stable | ||
freeCompilerArgs = freeCompilerArgs + "-opt-in=kotlin.RequiresOptIn" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nit: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I had it that way originally but the IDE warned me of the creation of a list under the hood and recommended this form instead. |
||
} | ||
|
||
tasks.register<Test>("e2eTest") { | ||
description = "Run e2e service tests" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Can we please add a reason to this annotation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the reason for this now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here is the test run in which the regression occurs on Windows: https://github.com/awslabs/aws-sdk-kotlin/runs/5057351434?check_suite_focus=true
Here is the error snippet from the log:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK IDK if we can merge this without looking into this further to ensure we aren't introducing a regression on windows (i.e. is this an issue with the test surfaced by the upgrade OR a latent issue with the implementation discovered in this test by the upgrade)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possibly related: