-
Notifications
You must be signed in to change notification settings - Fork 2
misc: Upgrade to Kotlin 2.1.0 #59
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
Changes from 4 commits
65c3c43
eb6b2a1
ebf0fd1
edd81e9
41d5389
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 |
|---|---|---|
|
|
@@ -74,8 +74,7 @@ class SmithyBuildPlugin : Plugin<Project> { | |
| registerCodegenTasks() | ||
| } | ||
|
|
||
| private fun Project.installExtension() = | ||
| extensions.create(SMITHY_BUILD_EXTENSION_NAME, SmithyBuildExtension::class.java, project) | ||
| private fun Project.installExtension() = extensions.create(SMITHY_BUILD_EXTENSION_NAME, SmithyBuildExtension::class.java, project) | ||
|
|
||
| private fun Project.registerCodegenTasks() { | ||
| val generateSmithyBuild = tasks.register<GenerateSmithyBuild>(TASK_GENERATE_SMITHY_BUILD) { | ||
|
|
@@ -102,8 +101,6 @@ class SmithyBuildPlugin : Plugin<Project> { | |
| tasks.register<SmithyBuildTask>(TASK_GENERATE_SMITHY_PROJECTIONS) { | ||
| group = "codegen" | ||
| dependsOn(generateSmithyBuild) | ||
| resolvedCliClasspath.set(codegenConfig) | ||
| runtimeClasspath.set(codegenConfig) | ||
| buildClasspath.set(codegenConfig) | ||
| smithyBuildConfigs.set(project.files(generateSmithyBuild)) | ||
| } | ||
|
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. Question: Why were these removed? 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. smithy-gradle-plugin was updated in 1.1.0 to make But I now see they have a |
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| kotlin.code.style=official | ||
|
|
||
| # kotlin | ||
| kotlinVersion=2.0.10 | ||
| kotlinVersion=2.1.0 |
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.
Question: I'm noticing a lot of reformatting which lengthens lines past 120 chars. Was this an automated reformat or did you manually make these changes for some reason?
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.
This was an automated format from ktlint